diff options
Diffstat (limited to 'sntp/tests/run-kodFile.c')
-rw-r--r-- | sntp/tests/run-kodFile.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sntp/tests/run-kodFile.c b/sntp/tests/run-kodFile.c index 3943550391e98..07a32d724a557 100644 --- a/sntp/tests/run-kodFile.c +++ b/sntp/tests/run-kodFile.c @@ -39,6 +39,13 @@ extern void test_WriteFileWithSingleEntry(void); extern void test_WriteFileWithMultipleEntries(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("kodFile.c"); RUN_TEST(test_ReadEmptyFile, 19); RUN_TEST(test_ReadCorrectFile, 20); |