1*e27abb66SXin LIdnl ###################################################################### 2*e27abb66SXin LIdnl SNTP_PROBLEM_TESTS 3*e27abb66SXin LIdnl 4*e27abb66SXin LIdnl Some platforms have problems building or running certain tests. 5*e27abb66SXin LIdnl While we're in the initial phase of the deployment of the test 6*e27abb66SXin LIdnl framework, sometimes we may need to disable these tests. 7*e27abb66SXin LIdnl 8*e27abb66SXin LIdnl This is where we do that. 9*e27abb66SXin LIdnl 10*e27abb66SXin LIAC_DEFUN([SNTP_PROBLEM_TESTS], [ 11*e27abb66SXin LIcase "$build" in 12*e27abb66SXin LI $host) cross=0 ;; 13*e27abb66SXin LI *) cross=1 ;; 14*e27abb66SXin LIesac 15*e27abb66SXin LI 16*e27abb66SXin LIAC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) 17*e27abb66SXin LIAC_ARG_ENABLE( 18*e27abb66SXin LI [problem-tests], 19*e27abb66SXin LI [AS_HELP_STRING( 20*e27abb66SXin LI [--enable-problem-tests], 21*e27abb66SXin LI [+ enable tests with undiagnosed problems] 22*e27abb66SXin LI )], 23*e27abb66SXin LI [sntp_ept=$enableval], 24*e27abb66SXin LI [sntp_ept=yes] 25*e27abb66SXin LI) 26*e27abb66SXin LIAC_MSG_RESULT([$sntp_ept]) 27*e27abb66SXin LI 28*e27abb66SXin LIAC_MSG_CHECKING([if we can run test-kodDatabase]) 29*e27abb66SXin LIsntp_test_kodDatabase="no" 30*e27abb66SXin LIcase "$sntp_ept:$cross:$host" in 31*e27abb66SXin LI no:0:*-apple-darwin12.6.0) ;; 32*e27abb66SXin LI *) sntp_test_kodDatabase="yes" ;; 33*e27abb66SXin LIesac 34*e27abb66SXin LIAC_MSG_RESULT([$sntp_test_kodDatabase]) 35*e27abb66SXin LIAM_CONDITIONAL([BUILD_TEST_KODDATABASE], [test x$sntp_test_kodDatabase = xyes]) 36*e27abb66SXin LI 37*e27abb66SXin LIAC_MSG_CHECKING([if we can run test-kodFile]) 38*e27abb66SXin LIsntp_test_kodFile="no" 39*e27abb66SXin LIcase "$sntp_ept:$cross:$host" in 40*e27abb66SXin LI no:0:*-apple-darwin12.6.0) ;; 41*e27abb66SXin LI *) sntp_test_kodFile="yes" ;; 42*e27abb66SXin LIesac 43*e27abb66SXin LIAC_MSG_RESULT([$sntp_test_kodFile]) 44*e27abb66SXin LIAM_CONDITIONAL([BUILD_TEST_KODFILE], [test x$sntp_test_kodFile = xyes]) 45*e27abb66SXin LI 46*e27abb66SXin LI]) 47*e27abb66SXin LIdnl ====================================================================== 48