1290001Sglebiusdnl ######################################################################
2290001Sglebiusdnl NTP_PROBLEM_TESTS
3290001Sglebiusdnl
4290001Sglebiusdnl Some platforms have problems building or running certain tests.
5290001Sglebiusdnl While we're in the initial phase of the deployment of the test
6290001Sglebiusdnl framework, sometimes we may need to disable these tests.
7290001Sglebiusdnl
8290001Sglebiusdnl This is where we do that.
9290001Sglebiusdnl
10290001SglebiusAC_DEFUN([NTP_PROBLEM_TESTS], [
11290001Sglebiuscase "$build" in
12290001Sglebius $host)	cross=0 ;;
13290001Sglebius *)	cross=1 ;;
14290001Sglebiusesac
15290001Sglebius
16290001SglebiusAC_MSG_CHECKING([if we want to enable tests with undiagnosed problems])
17290001SglebiusAC_ARG_ENABLE(
18290001Sglebius    [problem-tests],
19290001Sglebius    [AS_HELP_STRING(
20290001Sglebius        [--enable-problem-tests],
21290001Sglebius        [+ enable tests with undiagnosed problems]
22290001Sglebius    )],
23290001Sglebius    [ntp_ept=$enableval],
24290001Sglebius    [ntp_ept=yes]
25290001Sglebius)
26290001SglebiusAC_MSG_RESULT([$ntp_ept])
27290001Sglebius
28290001SglebiusAC_MSG_CHECKING([if we can run test-ntp_restrict])
29290001Sglebiusntp_test_ntp_restrict="no"
30290001Sglebiuscase "$ntp_ept:$cross:$host" in
31293896Sglebius no:0:*-*-freebsd6.4) ;;
32293896Sglebius no:0:*-*-hpux11.23*) ;;
33290001Sglebius no:0:*-*-solaris*) ;;
34290001Sglebius *) ntp_test_ntp_restrict="yes" ;;
35290001Sglebiusesac
36290001SglebiusAC_MSG_RESULT([$ntp_test_ntp_restrict])
37290001SglebiusAM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes])
38290001Sglebius
39290001SglebiusAC_MSG_CHECKING([if we can run test-ntp_scanner])
40290001Sglebiusntp_test_ntp_scanner="no"
41290001Sglebiuscase "$ntp_ept:$cross:$host" in
42293896Sglebius no:0:*-*-freebsd6.4) ;;
43290001Sglebius no:0:*-*-solaris*) ;;
44290001Sglebius *) ntp_test_ntp_scanner="yes" ;;
45290001Sglebiusesac
46290001SglebiusAC_MSG_RESULT([$ntp_test_ntp_scanner])
47290001SglebiusAM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes])
48290001Sglebius
49290001SglebiusAC_MSG_CHECKING([if we can run test-ntp_signd])
50290001Sglebiusntp_test_ntp_signd="no"
51290001Sglebiuscase "$ntp_ept:$cross:$host" in
52293896Sglebius no:0:*-*-freebsd6.4) ;;
53290001Sglebius no:0:*-*-solaris*) ;;
54290001Sglebius *) ntp_test_ntp_signd="yes" ;;
55290001Sglebiusesac
56290001SglebiusAC_MSG_RESULT([$ntp_test_ntp_signd])
57290001SglebiusAM_CONDITIONAL([BUILD_TEST_NTP_SIGND], [test x$ntp_test_ntp_signd = xyes])
58301301Sdelphij
59290001Sglebius])
60290001Sglebiusdnl ======================================================================
61