[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
AVOCADO_TAGS.
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_SHOW=app
+comma:=,
ifndef AVOCADO_TAGS
- 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)))
else
AVOCADO_CMDLINE_TAGS=$(addprefix -t , $(AVOCADO_TAGS))
--
2.35.1
- Re: [PATCH 3/9] Avocado migration test: adapt to "utils.network" API namespace change, (continued)
- [PATCH 4/9] Avocado: bump to version 95.0, Cleber Rosa, 2022/02/25
- [PATCH 5/9] tests/avocado/linux_ssh_mips_malta.py: add missing accel (tcg) tag, Cleber Rosa, 2022/02/25
- [PATCH 6/9] tests/avocado/virtiofs_submounts.py: shared_dir may not exist, Cleber Rosa, 2022/02/25
- [PATCH 7/9] Avocado tests: improve documentation on tag filtering, Cleber Rosa, 2022/02/25
- [PATCH 8/9] Avocado tests: classify tests based on what it's booted, Cleber Rosa, 2022/02/25
- [PATCH 9/9] Avocado tests: don't run tests with TCG that boot full blown distros,
Cleber Rosa <=