aboutsummaryrefslogtreecommitdiff
path: root/scripts/mtest2make.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-11-09 14:13:00 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-28 11:13:33 +0100
commit3e233e29178dd9ebd3b3c3382a2e0ebea9e8127d (patch)
tree8a1ce321a1d15a8636f08423891fb9c81450e374 /scripts/mtest2make.py
parentbcda7b178fde7797f476e3b066fe5fc76bfa1c43 (diff)
downloadqemu-3e233e29178dd9ebd3b3c3382a2e0ebea9e8127d.zip
qemu-3e233e29178dd9ebd3b3c3382a2e0ebea9e8127d.tar.gz
qemu-3e233e29178dd9ebd3b3c3382a2e0ebea9e8127d.tar.bz2
scripts/mtest2make: add support for SPEED=thorough
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/mtest2make.py')
-rw-r--r--scripts/mtest2make.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py
index 7067bda..4b9c561 100644
--- a/scripts/mtest2make.py
+++ b/scripts/mtest2make.py
@@ -23,8 +23,9 @@ class Suite(object):
print('''
SPEED = quick
-.speed.quick = $(foreach s,$(sort $(filter-out %-slow, $1)), --suite $s)
-.speed.slow = $(foreach s,$(sort $1), --suite $s)
+.speed.quick = $(foreach s,$(sort $(filter-out %-slow %-thorough, $1)), --suite $s)
+.speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s)
+.speed.thorough = $(foreach s,$(sort $1), --suite $s)
.mtestargs = --no-rebuild -t 0
ifneq ($(SPEED), quick)
@@ -52,11 +53,14 @@ def process_tests(test, targets, suites):
for s in test_suites:
# The suite name in the introspection info is "PROJECT:SUITE"
s = s.split(':')[1]
- if s == 'slow':
+ if s == 'slow' or s == 'thorough':
continue
if s.endswith('-slow'):
s = s[:-5]
suites[s].speeds.append('slow')
+ if s.endswith('-thorough'):
+ s = s[:-9]
+ suites[s].speeds.append('thorough')
suites[s].deps.update(deps)
def emit_prolog(suites, prefix):