diff options
Diffstat (limited to 'sntp/tests/run-utilities.c')
-rw-r--r-- | sntp/tests/run-utilities.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sntp/tests/run-utilities.c b/sntp/tests/run-utilities.c index 7c2237bbe1598..0f388451763ad 100644 --- a/sntp/tests/run-utilities.c +++ b/sntp/tests/run-utilities.c @@ -41,6 +41,13 @@ extern void test_LfpOutputBinaryFormat(void); extern void test_LfpOutputDecimalFormat(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,6 +63,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("utilities.c"); RUN_TEST(test_IPv4Address, 16); RUN_TEST(test_IPv6Address, 17); |