mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-tests.m4: Change to support --enable-tests=no|yes|samples, default is samples. * configure.ac: Reflect changes above.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* aclocal/enable-tests.m4: Change to support
|
||||||
|
--enable-tests=no|yes|samples, default is samples.
|
||||||
|
* configure.ac: Reflect changes above.
|
||||||
|
|
||||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect having moved aclocal/.
|
* Makefile.am: Reflect having moved aclocal/.
|
||||||
|
|||||||
@@ -2,14 +2,12 @@ dnl $Id$
|
|||||||
|
|
||||||
AC_DEFUN(RTEMS_ENABLE_TESTS,
|
AC_DEFUN(RTEMS_ENABLE_TESTS,
|
||||||
[
|
[
|
||||||
# If the tests are enabled, then find all the test suite Makefiles
|
|
||||||
AC_MSG_CHECKING([if the test suites are enabled? ])
|
|
||||||
AC_ARG_ENABLE(tests,
|
AC_ARG_ENABLE(tests,
|
||||||
[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
|
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) tests_enabled=yes ;;
|
samples) enable_tests=samples;;
|
||||||
no) tests_enabled=no ;;
|
yes) enable_tests=yes ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
|
no) enable_tests=no ;;
|
||||||
esac], [tests_enabled=no])
|
*) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
|
||||||
AC_MSG_RESULT([$tests_enabled])
|
esac], [enable_tests=samples])
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -29,12 +29,17 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|||||||
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
||||||
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
||||||
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
|
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
|
||||||
|
RTEMS_CHECK_TESTS
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS(tools)
|
case $enable_tests in
|
||||||
AC_CONFIG_SUBDIRS(support)
|
yes | samples )
|
||||||
AC_CONFIG_SUBDIRS(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
|
# do functionality tests first, then performance tests
|
||||||
AC_CONFIG_SUBDIRS(libtests sptests)
|
AC_CONFIG_SUBDIRS(libtests sptests)
|
||||||
if test "$HAS_MP" = "yes"; then
|
if test "$HAS_MP" = "yes"; then
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* aclocal/enable-tests.m4: Change to support
|
||||||
|
--enable-tests=no|yes|samples, default is samples.
|
||||||
|
* configure.ac: Reflect changes above.
|
||||||
|
|
||||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect having moved aclocal/.
|
* Makefile.am: Reflect having moved aclocal/.
|
||||||
|
|||||||
@@ -2,14 +2,12 @@ dnl $Id$
|
|||||||
|
|
||||||
AC_DEFUN(RTEMS_ENABLE_TESTS,
|
AC_DEFUN(RTEMS_ENABLE_TESTS,
|
||||||
[
|
[
|
||||||
# If the tests are enabled, then find all the test suite Makefiles
|
|
||||||
AC_MSG_CHECKING([if the test suites are enabled? ])
|
|
||||||
AC_ARG_ENABLE(tests,
|
AC_ARG_ENABLE(tests,
|
||||||
[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
|
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) tests_enabled=yes ;;
|
samples) enable_tests=samples;;
|
||||||
no) tests_enabled=no ;;
|
yes) enable_tests=yes ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
|
no) enable_tests=no ;;
|
||||||
esac], [tests_enabled=no])
|
*) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
|
||||||
AC_MSG_RESULT([$tests_enabled])
|
esac], [enable_tests=samples])
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -29,12 +29,17 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|||||||
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
||||||
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
||||||
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
|
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
|
||||||
|
RTEMS_CHECK_TESTS
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS(tools)
|
case $enable_tests in
|
||||||
AC_CONFIG_SUBDIRS(support)
|
yes | samples )
|
||||||
AC_CONFIG_SUBDIRS(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
|
# do functionality tests first, then performance tests
|
||||||
AC_CONFIG_SUBDIRS(libtests sptests)
|
AC_CONFIG_SUBDIRS(libtests sptests)
|
||||||
if test "$HAS_MP" = "yes"; then
|
if test "$HAS_MP" = "yes"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user