diff options
Diffstat (limited to 'contrib/ntp/tests/libntp/run-vi64ops.c')
-rw-r--r-- | contrib/ntp/tests/libntp/run-vi64ops.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/contrib/ntp/tests/libntp/run-vi64ops.c b/contrib/ntp/tests/libntp/run-vi64ops.c index 7e8c2cbeba93..599a4b78d727 100644 --- a/contrib/ntp/tests/libntp/run-vi64ops.c +++ b/contrib/ntp/tests/libntp/run-vi64ops.c @@ -22,35 +22,37 @@ #include "unity.h" #include <setjmp.h> #include <stdio.h> +#include "config.h" +#include "ntp_stdlib.h" +#include "vint64ops.h" //=======External Functions This Runner Calls===== extern void setUp(void); extern void tearDown(void); -void resetTest(void); -extern void test_ParseVUI64_pos(); -extern void test_ParseVUI64_neg(); -extern void test_ParseVUI64_case(); +extern void test_ParseVUI64_pos(void); +extern void test_ParseVUI64_neg(void); +extern void test_ParseVUI64_case(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 = "vi64ops.c"; UnityBegin("vi64ops.c"); - RUN_TEST(test_ParseVUI64_pos, 33); - RUN_TEST(test_ParseVUI64_neg, 47); - RUN_TEST(test_ParseVUI64_case, 60); + RUN_TEST(test_ParseVUI64_pos, 10); + RUN_TEST(test_ParseVUI64_neg, 11); + RUN_TEST(test_ParseVUI64_case, 12); return (UnityEnd()); } |