From e41e3fe75ddf0c2316f33948e585d5f4e66e1b98 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 22 Aug 2003 06:00:38 +0000 Subject: 2003-08-22 Ralf Corsepius * aclocal/enable-tests.m4: Change to support --enable-tests=no|yes|samples, default is samples. * configure.ac: Reflect changes above. --- testsuites/configure.ac | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'testsuites/configure.ac') diff --git a/testsuites/configure.ac b/testsuites/configure.ac index 4d5cf14bf1..dcb8b49276 100644 --- a/testsuites/configure.ac +++ b/testsuites/configure.ac @@ -29,12 +29,17 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) RTEMS_CHECK_POSIX_API(RTEMS_BSP) RTEMS_CHECK_ITRON_API(RTEMS_BSP) +RTEMS_CHECK_TESTS -AC_CONFIG_SUBDIRS(tools) -AC_CONFIG_SUBDIRS(support) -AC_CONFIG_SUBDIRS(samples) +case $enable_tests in +yes | samples ) + AC_CONFIG_SUBDIRS(tools) + AC_CONFIG_SUBDIRS(support) + AC_CONFIG_SUBDIRS(samples) + ;; +esac -if test "$tests_enabled" = "yes"; then +if test "$enable_tests" = "yes"; then # do functionality tests first, then performance tests AC_CONFIG_SUBDIRS(libtests sptests) if test "$HAS_MP" = "yes"; then -- cgit v1.2.3