[LTP] [PATCH 3/6] configure: Print info about KVM testsuite in summary

Petr Vorel pvorel@suse.cz
Wed Jul 17 19:17:10 CEST 2024


KVM testsuite cannot be disabled by user, it's disabled when missing
KVM linker script support. Yet it's useful to print this info in the
configure summary.

Fixes: 959146f954 ("configure: Check for KVM linker script support")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8f8003f53b..a8e40a5fc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,10 +430,12 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM()],
   [
     AC_MSG_RESULT([yes])
     AC_SUBST([WITH_KVM_TESTSUITE],["yes"])
+    have_kvm=yes
   ],
   [
     AC_MSG_RESULT([no])
     AC_SUBST([WITH_KVM_TESTSUITE],["no"])
+    have_kvm=no
   ])
 _AC_LANG_PREFIX[]FLAGS="$ltp_backup_flags"
 LDFLAGS="$ltp_backup_ldflags"
@@ -443,6 +445,7 @@ AC_OUTPUT
 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}
-- 
2.45.2



More information about the ltp mailing list