diff options
Diffstat (limited to 'tests/libntp/run-tstotv.c')
-rw-r--r-- | tests/libntp/run-tstotv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-tstotv.c b/tests/libntp/run-tstotv.c index c060f771222fa..17f879e4d19d7 100644 --- a/tests/libntp/run-tstotv.c +++ b/tests/libntp/run-tstotv.c @@ -34,6 +34,13 @@ extern void test_MicrosecondsExact(void); extern void test_MicrosecondsRounding(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) @@ -49,6 +56,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("tstotv.c"); RUN_TEST(test_Seconds, 8); RUN_TEST(test_MicrosecondsExact, 9); |