Unit test patch by Erik Ekman: use macro to store correct testcase name

This commit is contained in:
Simon Goldschmidt
2014-02-12 21:52:21 +01:00
parent ad66b2bf13
commit a80c4d147c
8 changed files with 66 additions and 56 deletions

View File

@@ -255,8 +255,8 @@ END_TEST
Suite *
etharp_suite(void)
{
TFun tests[] = {
test_etharp_table
testfunc tests[] = {
TESTFUNC(test_etharp_table)
};
return create_suite("ETHARP", tests, sizeof(tests)/sizeof(TFun), etharp_setup, etharp_teardown);
return create_suite("ETHARP", tests, sizeof(tests)/sizeof(testfunc), etharp_setup, etharp_teardown);
}