diff options
Diffstat (limited to 'tests/libntp/run-lfptostr.c')
-rw-r--r-- | tests/libntp/run-lfptostr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-lfptostr.c b/tests/libntp/run-lfptostr.c index fbdeb7a1d549a..2ee7b0055a000 100644 --- a/tests/libntp/run-lfptostr.c +++ b/tests/libntp/run-lfptostr.c @@ -42,6 +42,13 @@ extern void test_MillisecondsRoundingDown(void); extern void test_UnsignedInteger(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) @@ -57,6 +64,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("lfptostr.c"); RUN_TEST(test_PositiveInteger, 24); RUN_TEST(test_NegativeInteger, 25); |