diff options
Diffstat (limited to 'tests/ntpd/run-ntp_prio_q.c')
-rw-r--r-- | tests/ntpd/run-ntp_prio_q.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tests/ntpd/run-ntp_prio_q.c b/tests/ntpd/run-ntp_prio_q.c index 35af443de58e..5b1adea4aace 100644 --- a/tests/ntpd/run-ntp_prio_q.c +++ b/tests/ntpd/run-ntp_prio_q.c @@ -41,6 +41,13 @@ extern void test_DestroyNonEmptyQueue(void); extern void test_AppendQueues(void); +//=======Suite Setup===== +static void suite_setup(void) +{ +extern int change_logfile(const char*, int); +change_logfile("stderr", 0); +} + //=======Test Reset Option===== void resetTest(void); void resetTest(void) @@ -56,14 +63,15 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("ntp_prio_q.c"); - RUN_TEST(test_AllocateDeallocateNode, 39); + RUN_TEST(test_AllocateDeallocateNode, 38); RUN_TEST(test_EmptyQueue, 46); - RUN_TEST(test_OneElementQueue, 60); - RUN_TEST(test_MultipleElementQueue, 88); - RUN_TEST(test_CustomOrderQueue, 126); - RUN_TEST(test_DestroyNonEmptyQueue, 183); - RUN_TEST(test_AppendQueues, 205); + RUN_TEST(test_OneElementQueue, 61); + RUN_TEST(test_MultipleElementQueue, 90); + RUN_TEST(test_CustomOrderQueue, 129); + RUN_TEST(test_DestroyNonEmptyQueue, 187); + RUN_TEST(test_AppendQueues, 211); return (UnityEnd()); } |