aboutsummaryrefslogtreecommitdiff
path: root/tests/libntp/run-refnumtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libntp/run-refnumtoa.c')
-rw-r--r--tests/libntp/run-refnumtoa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-refnumtoa.c b/tests/libntp/run-refnumtoa.c
index d829580b0ce3..5383d3aad563 100644
--- a/tests/libntp/run-refnumtoa.c
+++ b/tests/libntp/run-refnumtoa.c
@@ -33,6 +33,13 @@ extern void test_LocalClock(void);
extern void test_UnknownId(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)
@@ -48,6 +55,7 @@ char const *progname;
int main(int argc, char *argv[])
{
progname = argv[0];
+ suite_setup();
UnityBegin("refnumtoa.c");
RUN_TEST(test_LocalClock, 13);
RUN_TEST(test_UnknownId, 14);