mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #7273 from mfrey/unittest-readme
doc: changed include and function call in README
This commit is contained in:
commit
29587d01a0
@ -195,7 +195,7 @@ Every ``tests-<modulename>/tests-<module>*.c`` file you add to ``tests/unittests
|
||||
|
||||
/* clib includes */
|
||||
|
||||
#include "embUnit/embUnit.h"
|
||||
#include "embUnit.h"
|
||||
|
||||
#include "<header>.h"
|
||||
|
||||
@ -253,7 +253,7 @@ Test *tests_<module>_<header>_tests(void)
|
||||
/* ... */
|
||||
};
|
||||
|
||||
EMB_UNIT_TESTCALLER(<module>_<header>_tests, "<module>_<header>_tests",
|
||||
EMB_UNIT_TESTCALLER(<module>_<header>_tests,
|
||||
tests_<module>_<header>_set_up,
|
||||
tests_<module>_<header>_tear_down, fixtures);
|
||||
/* set up and tear down function can be NULL if omitted */
|
||||
|
Loading…
Reference in New Issue
Block a user