1 dnl ######################################################################
4 dnl Some platforms have problems building or running certain tests.
5 dnl While we're in the initial phase of the deployment of the test
6 dnl framework, sometimes we may need to disable these tests.
8 dnl This is where we do that.
10 AC_DEFUN([NTP_PROBLEM_TESTS], [
16 AC_MSG_CHECKING([if we want to enable tests with undiagnosed problems])
20 [--enable-problem-tests],
21 [+ enable tests with undiagnosed problems]
26 AC_MSG_RESULT([$ntp_ept])
28 AC_MSG_CHECKING([if we can run test-ntp_restrict])
29 ntp_test_ntp_restrict="no"
30 case "$ntp_ept:$cross:$host" in
31 no:0:*-*-freebsd6.4) ;;
32 no:0:*-*-hpux11.23*) ;;
34 *) ntp_test_ntp_restrict="yes" ;;
36 case "$ntp_cv_gc_sections_runs" in
37 no) ntp_test_ntp_restrict="no" ;;
40 AC_MSG_RESULT([$ntp_test_ntp_restrict])
41 AM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes])
43 AC_MSG_CHECKING([if we can run test-ntp_scanner])
44 ntp_test_ntp_scanner="no"
45 case "$ntp_ept:$cross:$host" in
46 no:0:*-*-freebsd6.4) ;;
48 *) ntp_test_ntp_scanner="yes" ;;
50 case "$ntp_cv_gc_sections_runs" in
51 no) ntp_test_ntp_scanner="no" ;;
54 AC_MSG_RESULT([$ntp_test_ntp_scanner])
55 AM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes])
57 AC_MSG_CHECKING([if we can run test-ntp_signd])
58 ntp_test_ntp_signd="no"
59 case "$ntp_ept:$cross:$host" in
60 no:0:*-*-freebsd6.4) ;;
62 *) ntp_test_ntp_signd="yes" ;;
64 case "$ntp_cv_gc_sections_runs" in
65 no) ntp_test_ntp_signd="no" ;;
68 AC_MSG_RESULT([$ntp_test_ntp_signd])
69 AM_CONDITIONAL([BUILD_TEST_NTP_SIGND], [test x$ntp_test_ntp_signd = xyes])
72 dnl ======================================================================