[LTP] [PATCH 4/6] configure: Enable realtime testsuite by default
Petr Vorel
pvorel@suse.cz
Wed Jul 17 19:17:11 CEST 2024
This is needed because sched_football will be added to runtest/sched
as well.
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
configure.ac | 7 +++++--
include/mk/features.mk.in | 3 ---
testcases/Makefile | 4 ----
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index a8e40a5fc0..6fea710a05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,7 +369,7 @@ fi
# TODO: testcases/realtime requires bash and python.
AC_ARG_WITH([realtime-testsuite],
[AS_HELP_STRING([--with-realtime-testsuite],
- [compile and install the realtime testsuite])],
+ [unused, kept for compatibility reason])],
[with_realtime_testsuite=$withval],
[with_realtime_testsuite=no]
)
@@ -447,7 +447,6 @@ cat << EOF
TESTSUITES
KVM testsuite: $have_kvm
open posix testsuite: ${with_open_posix_testsuite:-no}
-realtime testsuite: ${with_realtime_testsuite:-no}
TI-RPC testsuite: ${with_tirpc:-yes}
LIBRARIES
@@ -466,3 +465,7 @@ metadata generator: $with_metadata_generator
HTML metadata: $with_metadata_html
PDF metadata: $with_metadata_pdf
EOF
+
+if test "x$with_realtime_testsuite" = xyes; then
+ AC_MSG_WARN([--with-realtime-testsuite has no effect and is kept for compatibilty reason. It will be removed in the future.])
+fi
diff --git a/include/mk/features.mk.in b/include/mk/features.mk.in
index 73a2f66587..2fc5230d49 100644
--- a/include/mk/features.mk.in
+++ b/include/mk/features.mk.in
@@ -39,8 +39,5 @@ WITH_METADATA_PDF := @WITH_METADATA_PDF@
# Enable testcases/open_posix_testsuite's compile and install?
WITH_OPEN_POSIX_TESTSUITE := @WITH_OPEN_POSIX_TESTSUITE@
-# Enable testcases/realtime's compile and install?
-WITH_REALTIME_TESTSUITE := @WITH_REALTIME_TESTSUITE@
-
# Enable testcases/kernel/kvm compile and install?
WITH_KVM_TESTSUITE := @WITH_KVM_TESTSUITE@
diff --git a/testcases/Makefile b/testcases/Makefile
index 662d4b1edd..d98d79f3c1 100644
--- a/testcases/Makefile
+++ b/testcases/Makefile
@@ -15,8 +15,4 @@ ifneq ($(WITH_OPEN_POSIX_TESTSUITE),yes)
FILTER_OUT_DIRS += open_posix_testsuite
endif
-ifneq ($(WITH_REALTIME_TESTSUITE),yes)
-FILTER_OUT_DIRS += realtime
-endif
-
include $(top_srcdir)/include/mk/generic_trunk_target.mk
--
2.45.2
More information about the ltp
mailing list