diff options
Diffstat (limited to 'contrib/ntp/tests/sec-2853/run-sec-2853.c')
-rw-r--r-- | contrib/ntp/tests/sec-2853/run-sec-2853.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/contrib/ntp/tests/sec-2853/run-sec-2853.c b/contrib/ntp/tests/sec-2853/run-sec-2853.c index c8771bf..1159a77 100644 --- a/contrib/ntp/tests/sec-2853/run-sec-2853.c +++ b/contrib/ntp/tests/sec-2853/run-sec-2853.c @@ -22,33 +22,32 @@ #include "unity.h" #include <setjmp.h> #include <stdio.h> +#include <config.h> +#include <rc_cmdlength.h> //=======External Functions This Runner Calls===== extern void setUp(void); extern void tearDown(void); -void resetTest(void); -extern void test_main(void ); extern void test_main(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 = "sec-2853.c"; UnityBegin("sec-2853.c"); - RUN_TEST(test_main, 8); - RUN_TEST(test_main, 8); + RUN_TEST(test_main, 10); return (UnityEnd()); } |