1301301Sdelphijdnl ######################################################################
2301301Sdelphijdnl SNTP_PROBLEM_TESTS
3301301Sdelphijdnl
4301301Sdelphijdnl Some platforms have problems building or running certain tests.
5301301Sdelphijdnl While we're in the initial phase of the deployment of the test
6301301Sdelphijdnl framework, sometimes we may need to disable these tests.
7301301Sdelphijdnl
8301301Sdelphijdnl This is where we do that.
9301301Sdelphijdnl
10301301SdelphijAC_DEFUN([SNTP_PROBLEM_TESTS], [
11301301Sdelphijcase "$build" in
12301301Sdelphij $host)	cross=0 ;;
13301301Sdelphij *)	cross=1 ;;
14301301Sdelphijesac
15301301Sdelphij
16301301SdelphijAC_MSG_CHECKING([if we want to enable tests with undiagnosed problems])
17301301SdelphijAC_ARG_ENABLE(
18301301Sdelphij    [problem-tests],
19301301Sdelphij    [AS_HELP_STRING(
20301301Sdelphij        [--enable-problem-tests],
21301301Sdelphij        [+ enable tests with undiagnosed problems]
22301301Sdelphij    )],
23301301Sdelphij    [sntp_ept=$enableval],
24301301Sdelphij    [sntp_ept=yes]
25301301Sdelphij)
26301301SdelphijAC_MSG_RESULT([$sntp_ept])
27301301Sdelphij
28301301SdelphijAC_MSG_CHECKING([if we can run test-kodDatabase])
29301301Sdelphijsntp_test_kodDatabase="no"
30301301Sdelphijcase "$sntp_ept:$cross:$host" in
31301301Sdelphij no:0:*-apple-darwin12.6.0) ;;
32301301Sdelphij *) sntp_test_kodDatabase="yes" ;;
33301301Sdelphijesac
34301301SdelphijAC_MSG_RESULT([$sntp_test_kodDatabase])
35301301SdelphijAM_CONDITIONAL([BUILD_TEST_KODDATABASE], [test x$sntp_test_kodDatabase = xyes])
36301301Sdelphij
37301301SdelphijAC_MSG_CHECKING([if we can run test-kodFile])
38301301Sdelphijsntp_test_kodFile="no"
39301301Sdelphijcase "$sntp_ept:$cross:$host" in
40301301Sdelphij no:0:*-apple-darwin12.6.0) ;;
41301301Sdelphij *) sntp_test_kodFile="yes" ;;
42301301Sdelphijesac
43301301SdelphijAC_MSG_RESULT([$sntp_test_kodFile])
44301301SdelphijAM_CONDITIONAL([BUILD_TEST_KODFILE], [test x$sntp_test_kodFile = xyes])
45301301Sdelphij
46301301Sdelphij])
47301301Sdelphijdnl ======================================================================
48