[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 9/9] Avocado tests: don't run tests with TCG that boot full blown

From: Cleber Rosa
Subject: [PATCH 9/9] Avocado tests: don't run tests with TCG that boot full blown distros
Date: Fri, 25 Feb 2022 16:01:56 -0500

Tests that use TCG and boot full blown distros, such as Fedora, will
take a good time to run.  This excludes those combinations by default
on invocations of "make check-avocado".

Tests that rely on KVM instead, will continue to run.

As a reminder, one can always supply a list of tests or tags to be
used on a "make check-avocado" by setting AVOCADO_TESTS or

Signed-off-by: Cleber Rosa <crosa@redhat.com>
 tests/Makefile.include | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile.include b/tests/Makefile.include
index 676aa0d944..6d9cf7cbc9 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -91,8 +91,11 @@ endif
 # Any number of command separated loggers are accepted.  For more
 # information please refer to "avocado --help".
-       AVOCADO_CMDLINE_TAGS=$(patsubst %-softmmu,-t arch:%, \
+       AVOCADO_CMDLINE_TAGS=$(patsubst %-softmmu,-t 
arch:%$(comma)accel:tcg$(comma)boots:-distro, \
+                                                $(filter %-softmmu,$(TARGETS)))
+       AVOCADO_CMDLINE_TAGS+=$(patsubst %-softmmu,-t arch:%$(comma)accel:kvm, \
                                                 $(filter %-softmmu,$(TARGETS)))
        AVOCADO_CMDLINE_TAGS=$(addprefix -t , $(AVOCADO_TAGS))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]