kopia lustrzana https://github.com/espressif/esp-idf
fix unit test app to print tests in the same order they are given in files
rodzic
47d3759474
commit
1e2c5cc151
|
@ -42,13 +42,14 @@ void unity_testcase_register(struct test_desc_t* desc)
|
|||
if (!s_unity_tests_first)
|
||||
{
|
||||
s_unity_tests_first = desc;
|
||||
s_unity_tests_last = desc;
|
||||
}
|
||||
else
|
||||
{
|
||||
s_unity_tests_last->next = desc;
|
||||
struct test_desc_t* temp = s_unity_tests_first;
|
||||
s_unity_tests_first = desc;
|
||||
s_unity_tests_first->next = temp;
|
||||
}
|
||||
s_unity_tests_last = desc;
|
||||
desc->next = NULL;
|
||||
}
|
||||
|
||||
static void unity_run_single_test(const struct test_desc_t* test)
|
||||
|
|
Ładowanie…
Reference in New Issue