1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 08:51:19 +01:00
Marian Buschsieweke b0ec60c2d5
sys/embunit: fix return value on failure
When using `OUTPUT=COLORTEST` the return value of the unit test's
`main()` on failure was `0`, while it should be `1`. As a result,
running the unit tests from a script using

    $ OUTPUT=COLORTEXT make BOARD=native64 RIOT_TERMINAL=native -j32 flash term -C tests/unittests

would not catch a test failure.

This commit changes the behavior so that `0` is returned on success
and `1` on failure for both regular and colored text output.
2025-05-06 18:54:27 +02:00
..
2025-04-04 11:44:53 +02:00
2025-04-04 11:44:53 +02:00
2025-04-08 20:17:04 -04:00
2025-03-20 01:52:58 +01:00
2025-04-10 13:37:13 +02:00
2025-04-04 11:44:53 +02:00
2024-11-21 19:14:16 +01:00
2025-01-29 20:51:23 +01:00
2023-08-31 14:38:49 +02:00
2025-04-09 13:10:06 +02:00