[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/4] mtest2make.py: teach suite name that are just "PROJECT"
From: |
marcandre . lureau |
Subject: |
[PATCH 1/4] mtest2make.py: teach suite name that are just "PROJECT" |
Date: |
Thu, 2 Mar 2023 17:18:45 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
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>
---
scripts/mtest2make.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py
index 0fe81efbbc..179dd54871 100644
--- a/scripts/mtest2make.py
+++ b/scripts/mtest2make.py
@@ -51,10 +51,11 @@ def process_tests(test, targets, suites):
test_suites = test['suite'] or ['default']
for s in test_suites:
- # The suite name in the introspection info is "PROJECT:SUITE"
- s = s.split(':')[1]
- if s == 'slow' or s == 'thorough':
- continue
+ # The suite name in the introspection info is "PROJECT" or
"PROJECT:SUITE"
+ if ':' in s:
+ s = s.split(':')[1]
+ if s == 'slow' or s == 'thorough':
+ continue
if s.endswith('-slow'):
s = s[:-5]
suites[s].speeds.append('slow')
--
2.39.2
- [PATCH 0/4] Add meson wrap fallback for slirp & dtc, marcandre . lureau, 2023/03/02
- [PATCH 1/4] mtest2make.py: teach suite name that are just "PROJECT",
marcandre . lureau <=
- [PATCH 2/4] build-sys: prevent meson from downloading wrapped subprojects, marcandre . lureau, 2023/03/02
- [PATCH 3/4] build-sys: add slirp.wrap, marcandre . lureau, 2023/03/02
- [PATCH 4/4] build-sys: replace dtc submodule with dtc.wrap, marcandre . lureau, 2023/03/02
- Re: [PATCH 0/4] Add meson wrap fallback for slirp & dtc, Daniel P . Berrangé, 2023/03/06
- Re: [PATCH 0/4] Add meson wrap fallback for slirp & dtc, Paolo Bonzini, 2023/03/06