diff options
Diffstat (limited to 'tests/libntp/run-sfptostr.c')
-rw-r--r-- | tests/libntp/run-sfptostr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-sfptostr.c b/tests/libntp/run-sfptostr.c index 1dba912d5c1f..53eba8d6b150 100644 --- a/tests/libntp/run-sfptostr.c +++ b/tests/libntp/run-sfptostr.c @@ -39,6 +39,13 @@ extern void test_SingleDecimalInteger(void); extern void test_SingleDecimalRounding(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) @@ -54,6 +61,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("sfptostr.c"); RUN_TEST(test_PositiveInteger, 13); RUN_TEST(test_NegativeInteger, 14); |