1301238Sdelphijdnl ###################################################################### 2301238Sdelphijdnl SNTP_PROBLEM_TESTS 3301238Sdelphijdnl 4301238Sdelphijdnl Some platforms have problems building or running certain tests. 5301238Sdelphijdnl While we're in the initial phase of the deployment of the test 6301238Sdelphijdnl framework, sometimes we may need to disable these tests. 7301238Sdelphijdnl 8301238Sdelphijdnl This is where we do that. 9301238Sdelphijdnl 10301238SdelphijAC_DEFUN([SNTP_PROBLEM_TESTS], [ 11301238Sdelphijcase "$build" in 12301238Sdelphij $host) cross=0 ;; 13301238Sdelphij *) cross=1 ;; 14301238Sdelphijesac 15301238Sdelphij 16301238SdelphijAC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) 17301238SdelphijAC_ARG_ENABLE( 18301238Sdelphij [problem-tests], 19301238Sdelphij [AS_HELP_STRING( 20301238Sdelphij [--enable-problem-tests], 21301238Sdelphij [+ enable tests with undiagnosed problems] 22301238Sdelphij )], 23301238Sdelphij [sntp_ept=$enableval], 24301238Sdelphij [sntp_ept=yes] 25301238Sdelphij) 26301238SdelphijAC_MSG_RESULT([$sntp_ept]) 27301238Sdelphij 28301238SdelphijAC_MSG_CHECKING([if we can run test-kodDatabase]) 29301238Sdelphijsntp_test_kodDatabase="no" 30301238Sdelphijcase "$sntp_ept:$cross:$host" in 31301238Sdelphij no:0:*-apple-darwin12.6.0) ;; 32301238Sdelphij *) sntp_test_kodDatabase="yes" ;; 33301238Sdelphijesac 34301238SdelphijAC_MSG_RESULT([$sntp_test_kodDatabase]) 35301238SdelphijAM_CONDITIONAL([BUILD_TEST_KODDATABASE], [test x$sntp_test_kodDatabase = xyes]) 36301238Sdelphij 37301238SdelphijAC_MSG_CHECKING([if we can run test-kodFile]) 38301238Sdelphijsntp_test_kodFile="no" 39301238Sdelphijcase "$sntp_ept:$cross:$host" in 40301238Sdelphij no:0:*-apple-darwin12.6.0) ;; 41301238Sdelphij *) sntp_test_kodFile="yes" ;; 42301238Sdelphijesac 43301238SdelphijAC_MSG_RESULT([$sntp_test_kodFile]) 44301238SdelphijAM_CONDITIONAL([BUILD_TEST_KODFILE], [test x$sntp_test_kodFile = xyes]) 45301238Sdelphij 46301238Sdelphij]) 47301238Sdelphijdnl ====================================================================== 48