diff options
Diffstat (limited to 'contrib/ntp/tests/sandbox/run-ut-2803.c')
-rw-r--r-- | contrib/ntp/tests/sandbox/run-ut-2803.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/ntp/tests/sandbox/run-ut-2803.c b/contrib/ntp/tests/sandbox/run-ut-2803.c index d6ca2ee..b948c4a 100644 --- a/contrib/ntp/tests/sandbox/run-ut-2803.c +++ b/contrib/ntp/tests/sandbox/run-ut-2803.c @@ -35,18 +35,21 @@ extern void test_ignored(void); //=======Test Reset Option===== -void resetTest() +void resetTest(void); +void resetTest(void) { tearDown(); setUp(); } +char const *progname; + //=======MAIN===== -int main(void) +int main(int argc, char *argv[]) { - Unity.TestFile = "ut-2803.c"; - UnityBegin(""); + progname = argv[0]; + UnityBegin("ut-2803.c"); RUN_TEST(test_main, 30); RUN_TEST(test_XPASS, 37); RUN_TEST(test_XFAIL, 49); |