1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Benjamin Valentin
127a2902b1 sys/embunit: return failure state in TextUIRunner_end() 2024-04-03 13:22:51 +02:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
Benjamin Valentin
a613ff5831 sys/embunit: return failure state in TestRunner_end() 2024-03-04 14:30:45 +01:00
Leandro Lanzieri
5ab04a28b9
sys/embunit/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
f8e4085899
sys/embunit: add module to Kconfig 2020-11-18 18:38:44 +01:00
b53a5d86da sys/embunit: fix typos 2019-11-23 22:39:37 +01:00
Joakim Nohlgård
fcae95ca96 embunit: Const test case names 2018-06-15 00:34:33 +02:00
Juan Carrano
40e58a1afc sys/embunit: Fix incompatible declaration in outputter.
OutputterPrintHeaderFunction is declared as a function of 1 parameter
but CompilerOutputter_printHeader was defined as taking 2.

It is a mystery why this code compiled before.
2018-05-30 12:01:45 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Shuguo Zhuo
76f593af11 sys/embunit: revised header include guards. 2016-09-01 15:33:23 +02:00
René Kijewski
2e3a636b7e embUnit: simplify strcmp() implementation
The logic of `stdimpl_strcmp()` was needlessly complicated and not
understood by scan-build. This change fixes the warning and makes the
code more readable.

Found via scan-build.
2015-08-25 21:17:40 +02:00
Janos Kutscherauer
5d7ba5b35f Added a colored outputter to embUnit.
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.

Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
2015-08-17 15:04:27 +02:00
René Kijewski
91050cd72d embunit: fix outputters for msp430 2014-12-21 20:04:57 +01:00
René Kijewski
f684aa4b2d tests: make embUnit a normal sys module
There is nothing quite special about embUnit.

This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00