mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-22 00:33:46 +08:00
Unit test patch by Erik Ekman: use macro to store correct testcase name
This commit is contained in:
@@ -66,8 +66,8 @@ END_TEST
|
||||
Suite *
|
||||
mem_suite(void)
|
||||
{
|
||||
TFun tests[] = {
|
||||
test_mem_one
|
||||
testfunc tests[] = {
|
||||
TESTFUNC(test_mem_one)
|
||||
};
|
||||
return create_suite("MEM", tests, sizeof(tests)/sizeof(TFun), mem_setup, mem_teardown);
|
||||
return create_suite("MEM", tests, sizeof(tests)/sizeof(testfunc), mem_setup, mem_teardown);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user