diff options
| author | Xin LI <delphij@FreeBSD.org> | 2018-02-28 06:23:12 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2018-02-28 06:23:12 +0000 |
| commit | d14ac12f8738acac881f20b4d6244cfc22c68ead (patch) | |
| tree | 8888cc3c4a7235bf8abd28681330d20442bc3705 /tests/libntp/run-lfptostr.c | |
| parent | 07ac48c3644021279e113d530764a231e27490a7 (diff) | |
Notes
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); |
