1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/unittests
René Kijewski 0246329050 unittests: separate test suites from main.c
This change removes the need to patch the main.c if you add or remove a
test suite. A test suite in `tests/unittests/tests-XXX` needs to export
the function `void tests_XXX(void)`, which gets called by `main()`.

The `tests-XXX/Makefile` looks like your average module:
```
MODULE = tests-XXX
include $(RIOTBASE)/Makefile.base
```
2014-05-14 12:57:52 +02:00
..
embunit unittests: exit(1) or error 2014-05-14 10:31:22 +02:00
main.c unittests: separate test suites from main.c 2014-05-14 12:57:52 +02:00
Makefile unittests: separate test suites from main.c 2014-05-14 12:57:52 +02:00
map.h unittests: separate test suites from main.c 2014-05-14 12:57:52 +02:00
README.md Create unittest application 2014-04-10 15:33:10 +02:00
unittests.h unittests: use subfolders for different tests 2014-05-14 12:48:56 +02:00

Unittests

see Wiki