]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Makefile.am:
authorDamir Tomic <viperus@ntp.org>
Sun, 14 Jun 2015 08:24:54 +0000 (10:24 +0200)
committerDamir Tomic <viperus@ntp.org>
Sun, 14 Jun 2015 08:24:54 +0000 (10:24 +0200)
  removed run-test-libntp.c, unncecessary
run-test-libntp.c~b495db21713a6587:
  Delete: tests/libntp/run-test-libntp.c

bk: 557d3a56PEDNZzW9g6leoi9_k1VnUQ

tests/libntp/Makefile.am
tests/libntp/run-test-caljulian.c
tests/libntp/run-test-libntp.c [deleted file]

index a05f414d26a6e89c6cc85029f5f77ce1c564f76a..0062e1477b6508646dd64e5cadf7f9f7061cd846 100644 (file)
@@ -365,7 +365,6 @@ BUILT_SOURCES +=                            \
        $(srcdir)/run-test-clocktime.c          \
        $(srcdir)/run-test-hextoint.c           \
        $(srcdir)/run-test-lfpfunc.c            \
-       $(srcdir)/run-test-libntp.c             \
        $(srcdir)/run-test-modetoa.c            \
        $(srcdir)/run-test-numtoa.c             \
        $(srcdir)/run-test-numtohost.c          \
index 9fafadb4d82ce9c7d89c68ce5f59db9b239b950f..debb74d6a6c015822e66b1d5ed8165a7e34004f6 100644 (file)
@@ -48,10 +48,10 @@ int main(int argc, char *argv[])
   progname = argv[0];
   Unity.TestFile = "caljulian.c";
   UnityBegin("caljulian.c");
-  RUN_TEST(test_RegularTime, 80);
-  RUN_TEST(test_LeapYear, 91);
-  RUN_TEST(test_uLongBoundary, 102);
-  RUN_TEST(test_uLongWrapped, 113);
+  RUN_TEST(test_RegularTime, 72);
+  RUN_TEST(test_LeapYear, 83);
+  RUN_TEST(test_uLongBoundary, 94);
+  RUN_TEST(test_uLongWrapped, 105);
 
   return (UnityEnd());
 }
diff --git a/tests/libntp/run-test-libntp.c b/tests/libntp/run-test-libntp.c
deleted file mode 100644 (file)
index 44c830d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/* AUTOGENERATED FILE. DO NOT EDIT. */
-
-//=======Test Runner Used To Run Each Test Below=====
-#define RUN_TEST(TestFunc, TestLineNum) \
-{ \
-  Unity.CurrentTestName = #TestFunc; \
-  Unity.CurrentTestLineNumber = TestLineNum; \
-  Unity.NumberOfTests++; \
-  if (TEST_PROTECT()) \
-  { \
-      setUp(); \
-      TestFunc(); \
-  } \
-  if (TEST_PROTECT() && !TEST_IS_IGNORED) \
-  { \
-    tearDown(); \
-  } \
-  UnityConcludeTest(); \
-}
-
-//=======Automagically Detected Files To Include=====
-#include "unity.h"
-#include <setjmp.h>
-#include <stdio.h>
-
-//=======External Functions This Runner Calls=====
-extern void setUp(void);
-extern void tearDown(void);
-extern void test_modetoa(void);
-extern void test_uglydate(void);
-
-
-//=======Test Reset Option=====
-void resetTest()
-{
-  tearDown();
-  setUp();
-}
-
-
-//=======MAIN=====
-int main(void)
-{
-  Unity.TestFile = "test-libntp.c";
-  UnityBegin("");
-  RUN_TEST(test_modetoa, 24);
-  RUN_TEST(test_uglydate, 33);
-
-  return (UnityEnd());
-}