]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Implement --disable-problem-tests (off by default). Harlan Stenn.
authorHarlan Stenn <stenn@ntp.org>
Wed, 30 Sep 2015 06:45:59 +0000 (06:45 +0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 30 Sep 2015 06:45:59 +0000 (06:45 +0000)
bk: 560b8527zgf8XPuPjrItpJKEufgkAw

ChangeLog
sntp/m4/ntp_problemtests.m4

index 6f4c4e268622fdaf117863f831ff58ee72f71283..d15d40498db9f749f7f1e7ee234863caefbc8e32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -123,6 +123,7 @@ fixed formatting. Tomasz Flendrich
 * gcc on older HPUX may need +allowdups.  Harlan Stenn.
 * Adding missing MCAST protection.  Harlan Stenn.
 * Disable certain test programs on certain platforms.  Harlan Stenn.
+* Implement --disable-problem-tests (off by default).  Harlan Stenn.
 ---
 (4.2.8p3) 2015/06/29 Released by Harlan Stenn <stenn@ntp.org>
 
index b1f52d35faf6f7864979126f4a73e2b3e281cd20..732e64add977352cbe505b2eac853da5261cfab2 100644 (file)
@@ -12,10 +12,24 @@ case "$build" in
  $host)        cross=0 ;;
  *)    cross=1 ;;
 esac
+
+AC_MSG_CHECKING([if we want to disable tests with undiagnosed problems])
+AC_ARG_ENABLE(
+    [all-tests],
+    [AS_HELP_STRING(
+        [--disable-problem-tests],
+        [- disable tests with undiagnosed problems]
+    )],
+    [ntp_eat=$enableval],
+    [ntp_eat=no]
+)
+AC_MSG_RESULT([$ntp_eat])
+
 AC_MSG_CHECKING([if we can run test-ntp_restrict])
 ntp_test_ntp_restrict="no"
-case "$cross:$host" in
- 0:*-*-solaris*) ;;
+case "$ntp_eat:$cross:$host" in
+ 0:0:*-*-solaris*) ;;
+ 0:0:*-*-hpux-11.23*) ;;
  *) ntp_test_ntp_restrict="yes" ;;
 esac
 AC_MSG_RESULT([$ntp_test_ntp_restrict])
@@ -23,8 +37,8 @@ AM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes])
 
 AC_MSG_CHECKING([if we can run test-ntp_scanner])
 ntp_test_ntp_scanner="no"
-case "$cross:$host" in
- 0:*-*-solaris*) ;;
+case "$ntp_eat:$cross:$host" in
+ 0:0:*-*-solaris*) ;;
  *) ntp_test_ntp_scanner="yes" ;;
 esac
 AC_MSG_RESULT([$ntp_test_ntp_scanner])
@@ -32,8 +46,8 @@ AM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes])
 
 AC_MSG_CHECKING([if we can run test-ntp_signd])
 ntp_test_ntp_signd="no"
-case "$cross:$host" in
- 0:*-*-solaris*) ;;
+case "$ntp_eat:$cross:$host" in
+ 0:0:*-*-solaris*) ;;
  *) ntp_test_ntp_signd="yes" ;;
 esac
 AC_MSG_RESULT([$ntp_test_ntp_signd])