1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #11863 from pokgak/rename-setup-teardown

tests/unittests: rename set_up/tear_down function
This commit is contained in:
Peter Kietzmann 2019-07-19 12:57:54 +02:00 committed by GitHub
commit 43a5eef0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,9 +253,7 @@ Test *tests_<module>_<header>_tests(void)
/* ... */
};
EMB_UNIT_TESTCALLER(<module>_<header>_tests,
tests_<module>_<header>_set_up,
tests_<module>_<header>_tear_down, fixtures);
EMB_UNIT_TESTCALLER(<module>_<header>_tests, set_up, tear_down, fixtures);
/* set up and tear down function can be NULL if omitted */
return (Test *)&<module>_<header>;