From: Harlan Stenn Date: Thu, 3 Dec 2015 12:07:30 +0000 (+0000) Subject: Update some test runners X-Git-Tag: NTP_4_3_86~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cfac99a1bbe77408da825b56168805d9a07ee04;p=thirdparty%2Fntp.git Update some test runners bk: 56603082xlrDXM3oJEOZfyUXDNbJOg --- diff --git a/tests/libntp/run-sfptostr.c b/tests/libntp/run-sfptostr.c index bae4e5f48..1dba912d5 100644 --- a/tests/libntp/run-sfptostr.c +++ b/tests/libntp/run-sfptostr.c @@ -24,6 +24,7 @@ #include #include "config.h" #include "ntp_fp.h" +#include "ntp_stdlib.h" //=======External Functions This Runner Calls===== extern void setUp(void); @@ -54,14 +55,14 @@ int main(int argc, char *argv[]) { progname = argv[0]; UnityBegin("sfptostr.c"); - RUN_TEST(test_PositiveInteger, 12); - RUN_TEST(test_NegativeInteger, 13); - RUN_TEST(test_PositiveIntegerPositiveFraction, 14); - RUN_TEST(test_NegativeIntegerNegativeFraction, 15); - RUN_TEST(test_PositiveIntegerNegativeFraction, 16); - RUN_TEST(test_NegativeIntegerPositiveFraction, 17); - RUN_TEST(test_SingleDecimalInteger, 18); - RUN_TEST(test_SingleDecimalRounding, 19); + RUN_TEST(test_PositiveInteger, 13); + RUN_TEST(test_NegativeInteger, 14); + RUN_TEST(test_PositiveIntegerPositiveFraction, 15); + RUN_TEST(test_NegativeIntegerNegativeFraction, 16); + RUN_TEST(test_PositiveIntegerNegativeFraction, 17); + RUN_TEST(test_NegativeIntegerPositiveFraction, 18); + RUN_TEST(test_SingleDecimalInteger, 19); + RUN_TEST(test_SingleDecimalRounding, 20); return (UnityEnd()); } diff --git a/tests/sandbox/run-uglydate.c b/tests/sandbox/run-uglydate.c index e65cd0109..5a5a7161d 100644 --- a/tests/sandbox/run-uglydate.c +++ b/tests/sandbox/run-uglydate.c @@ -24,6 +24,7 @@ #include #include "config.h" #include "ntp_fp.h" +#include "ntp_stdlib.h" //=======External Functions This Runner Calls===== extern void setUp(void); @@ -47,7 +48,7 @@ int main(int argc, char *argv[]) { progname = argv[0]; UnityBegin("uglydate.c"); - RUN_TEST(test_ConstantDateTime, 9); + RUN_TEST(test_ConstantDateTime, 10); return (UnityEnd()); }