Changeset e41e3fe7 in rtems


Ignore:
Timestamp:
Aug 22, 2003, 6:00:38 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a5e62aba
Parents:
d2c6e4c1
Message:

2003-08-22 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-tests.m4: Change to support --enable-tests=no|yes|samples, default is samples.
  • configure.ac: Reflect changes above.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/ChangeLog

    rd2c6e4c1 re41e3fe7  
     12003-08-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/enable-tests.m4: Change to support
     4        --enable-tests=no|yes|samples, default is samples.
     5        * configure.ac: Reflect changes above.
     6
    172003-08-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/tests/aclocal/enable-tests.m4

    rd2c6e4c1 re41e3fe7  
    33AC_DEFUN(RTEMS_ENABLE_TESTS,
    44[
    5 # If the tests are enabled, then find all the test suite Makefiles
    6 AC_MSG_CHECKING([if the test suites are enabled? ])
    75AC_ARG_ENABLE(tests,
    8 [AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
     6[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
    97  [case "${enableval}" in
    10     yes) tests_enabled=yes ;;
    11     no)  tests_enabled=no ;;
    12     *)   AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
    13   esac], [tests_enabled=no])
    14 AC_MSG_RESULT([$tests_enabled])
     8    samples) enable_tests=samples;;
     9    yes) enable_tests=yes ;;
     10    no)  enable_tests=no ;;
     11    *)   AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
     12  esac], [enable_tests=samples])
    1513])
  • c/src/tests/configure.ac

    rd2c6e4c1 re41e3fe7  
    3030RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    3131RTEMS_CHECK_ITRON_API(RTEMS_BSP)
     32RTEMS_CHECK_TESTS
    3233
    33 AC_CONFIG_SUBDIRS(tools)
    34 AC_CONFIG_SUBDIRS(support)
    35 AC_CONFIG_SUBDIRS(samples)
     34case $enable_tests in
     35yes | samples )
     36  AC_CONFIG_SUBDIRS(tools)
     37  AC_CONFIG_SUBDIRS(support)
     38  AC_CONFIG_SUBDIRS(samples)
     39  ;;
     40esac
    3641
    37 if test "$tests_enabled" = "yes"; then
     42if test "$enable_tests" = "yes"; then
    3843  # do functionality tests first, then performance tests
    3944  AC_CONFIG_SUBDIRS(libtests sptests)
  • testsuites/ChangeLog

    rd2c6e4c1 re41e3fe7  
     12003-08-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/enable-tests.m4: Change to support
     4        --enable-tests=no|yes|samples, default is samples.
     5        * configure.ac: Reflect changes above.
     6
    172003-08-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • testsuites/aclocal/enable-tests.m4

    rd2c6e4c1 re41e3fe7  
    33AC_DEFUN(RTEMS_ENABLE_TESTS,
    44[
    5 # If the tests are enabled, then find all the test suite Makefiles
    6 AC_MSG_CHECKING([if the test suites are enabled? ])
    75AC_ARG_ENABLE(tests,
    8 [AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
     6[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
    97  [case "${enableval}" in
    10     yes) tests_enabled=yes ;;
    11     no)  tests_enabled=no ;;
    12     *)   AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
    13   esac], [tests_enabled=no])
    14 AC_MSG_RESULT([$tests_enabled])
     8    samples) enable_tests=samples;;
     9    yes) enable_tests=yes ;;
     10    no)  enable_tests=no ;;
     11    *)   AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
     12  esac], [enable_tests=samples])
    1513])
  • testsuites/configure.ac

    rd2c6e4c1 re41e3fe7  
    3030RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    3131RTEMS_CHECK_ITRON_API(RTEMS_BSP)
     32RTEMS_CHECK_TESTS
    3233
    33 AC_CONFIG_SUBDIRS(tools)
    34 AC_CONFIG_SUBDIRS(support)
    35 AC_CONFIG_SUBDIRS(samples)
     34case $enable_tests in
     35yes | samples )
     36  AC_CONFIG_SUBDIRS(tools)
     37  AC_CONFIG_SUBDIRS(support)
     38  AC_CONFIG_SUBDIRS(samples)
     39  ;;
     40esac
    3641
    37 if test "$tests_enabled" = "yes"; then
     42if test "$enable_tests" = "yes"; then
    3843  # do functionality tests first, then performance tests
    3944  AC_CONFIG_SUBDIRS(libtests sptests)
Note: See TracChangeset for help on using the changeset viewer.