diff options
Diffstat (limited to 'contrib/ntp/tests/libntp/run-prettydate.c')
-rw-r--r-- | contrib/ntp/tests/libntp/run-prettydate.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/ntp/tests/libntp/run-prettydate.c b/contrib/ntp/tests/libntp/run-prettydate.c index 2067b13..e6c5ff3 100644 --- a/contrib/ntp/tests/libntp/run-prettydate.c +++ b/contrib/ntp/tests/libntp/run-prettydate.c @@ -22,6 +22,10 @@ #include "unity.h" #include <setjmp.h> #include <stdio.h> +#include "config.h" +#include "ntp_stdlib.h" +#include "ntp_calendar.h" +#include "ntp_fp.h" //=======External Functions This Runner Calls===== extern void setUp(void); @@ -30,22 +34,22 @@ extern void test_ConstantDate(void); //=======Test Reset Option===== -void resetTest() +void resetTest(void); +void resetTest(void) { tearDown(); setUp(); } -char *progname; +char const *progname; //=======MAIN===== int main(int argc, char *argv[]) { progname = argv[0]; - Unity.TestFile = "prettydate.c"; UnityBegin("prettydate.c"); - RUN_TEST(test_ConstantDate, 10); + RUN_TEST(test_ConstantDate, 9); return (UnityEnd()); } |