19034852cSGleb Smirnoffdnl ###################################################################### 29034852cSGleb Smirnoffdnl NTP_PROBLEM_TESTS 39034852cSGleb Smirnoffdnl 49034852cSGleb Smirnoffdnl Some platforms have problems building or running certain tests. 59034852cSGleb Smirnoffdnl While we're in the initial phase of the deployment of the test 69034852cSGleb Smirnoffdnl framework, sometimes we may need to disable these tests. 79034852cSGleb Smirnoffdnl 89034852cSGleb Smirnoffdnl This is where we do that. 99034852cSGleb Smirnoffdnl 109034852cSGleb SmirnoffAC_DEFUN([NTP_PROBLEM_TESTS], [ 119034852cSGleb Smirnoffcase "$build" in 129034852cSGleb Smirnoff $host) cross=0 ;; 139034852cSGleb Smirnoff *) cross=1 ;; 149034852cSGleb Smirnoffesac 159034852cSGleb Smirnoff 169034852cSGleb SmirnoffAC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) 179034852cSGleb SmirnoffAC_ARG_ENABLE( 189034852cSGleb Smirnoff [problem-tests], 199034852cSGleb Smirnoff [AS_HELP_STRING( 209034852cSGleb Smirnoff [--enable-problem-tests], 219034852cSGleb Smirnoff [+ enable tests with undiagnosed problems] 229034852cSGleb Smirnoff )], 239034852cSGleb Smirnoff [ntp_ept=$enableval], 249034852cSGleb Smirnoff [ntp_ept=yes] 259034852cSGleb Smirnoff) 269034852cSGleb SmirnoffAC_MSG_RESULT([$ntp_ept]) 279034852cSGleb Smirnoff 289034852cSGleb SmirnoffAC_MSG_CHECKING([if we can run test-ntp_restrict]) 299034852cSGleb Smirnoffntp_test_ntp_restrict="no" 309034852cSGleb Smirnoffcase "$ntp_ept:$cross:$host" in 313311ff84SXin LI no:0:*-*-freebsd6.4) ;; 323311ff84SXin LI no:0:*-*-hpux11.23*) ;; 339034852cSGleb Smirnoff no:0:*-*-solaris*) ;; 349034852cSGleb Smirnoff *) ntp_test_ntp_restrict="yes" ;; 359034852cSGleb Smirnoffesac 369034852cSGleb SmirnoffAC_MSG_RESULT([$ntp_test_ntp_restrict]) 379034852cSGleb SmirnoffAM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes]) 389034852cSGleb Smirnoff 399034852cSGleb SmirnoffAC_MSG_CHECKING([if we can run test-ntp_scanner]) 409034852cSGleb Smirnoffntp_test_ntp_scanner="no" 419034852cSGleb Smirnoffcase "$ntp_ept:$cross:$host" in 423311ff84SXin LI no:0:*-*-freebsd6.4) ;; 439034852cSGleb Smirnoff no:0:*-*-solaris*) ;; 449034852cSGleb Smirnoff *) ntp_test_ntp_scanner="yes" ;; 459034852cSGleb Smirnoffesac 469034852cSGleb SmirnoffAC_MSG_RESULT([$ntp_test_ntp_scanner]) 479034852cSGleb SmirnoffAM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes]) 489034852cSGleb Smirnoff 499034852cSGleb SmirnoffAC_MSG_CHECKING([if we can run test-ntp_signd]) 509034852cSGleb Smirnoffntp_test_ntp_signd="no" 519034852cSGleb Smirnoffcase "$ntp_ept:$cross:$host" in 523311ff84SXin LI no:0:*-*-freebsd6.4) ;; 539034852cSGleb Smirnoff no:0:*-*-solaris*) ;; 549034852cSGleb Smirnoff *) ntp_test_ntp_signd="yes" ;; 559034852cSGleb Smirnoffesac 569034852cSGleb SmirnoffAC_MSG_RESULT([$ntp_test_ntp_signd]) 579034852cSGleb SmirnoffAM_CONDITIONAL([BUILD_TEST_NTP_SIGND], [test x$ntp_test_ntp_signd = xyes]) 58*e27abb66SXin LI 599034852cSGleb Smirnoff]) 609034852cSGleb Smirnoffdnl ====================================================================== 61