mirror of https://gitee.com/openkylin/qemu.git
mtest2make.py: teach suite name that are just "PROJECT"
A subproject test may be simply in the "PROJECT" suite (such as "qemu-common" with the following patches) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230302131848.1527460-2-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2d82c32b2c
commit
bc848265bc
|
@ -51,7 +51,8 @@ def process_tests(test, targets, suites):
|
||||||
|
|
||||||
test_suites = test['suite'] or ['default']
|
test_suites = test['suite'] or ['default']
|
||||||
for s in test_suites:
|
for s in test_suites:
|
||||||
# The suite name in the introspection info is "PROJECT:SUITE"
|
# The suite name in the introspection info is "PROJECT" or "PROJECT:SUITE"
|
||||||
|
if ':' in s:
|
||||||
s = s.split(':')[1]
|
s = s.split(':')[1]
|
||||||
if s == 'slow' or s == 'thorough':
|
if s == 'slow' or s == 'thorough':
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue