From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v4 08/11] scripts/test_list.py: fix gen_testlist logic
Date: Fri, 8 Sep 2023 10:27:44 +0200 [thread overview]
Message-ID: <20230908083734.1084351-9-mauro.chehab@linux.intel.com> (raw)
In-Reply-To: <20230908083734.1084351-1-mauro.chehab@linux.intel.com>
From: Mauro Carvalho Chehab <mchehab@kernel.org>
Don't try to find a common prefix for tests, as this cause
troubles when filtering out tests.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
scripts/test_list.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/test_list.py b/scripts/test_list.py
index c9073cc0305f..01f6528ac84c 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -1352,8 +1352,6 @@ class TestList:
"""Generate testlists from the test documentation"""
- test_prefix = os.path.commonprefix(self.get_subtests()[""])
- test_prefix = re.sub(r'^' + self.main_name, '', test_prefix)
# NOTE: currently, it uses a comma for multi-value delimitter
test_subtests = self.get_subtests(sort_field, ",", with_order = True)
@@ -1374,7 +1372,7 @@ class TestList:
fname = testlist
fname = re.sub(r"[^\w\d]+", "-", fname)
- fname = directory + "/" + test_prefix + fname + ".testlist"
+ fname = directory + "/" + fname + ".testlist"
with open(fname, 'w', encoding='utf8') as handler:
for sub in test_subtests[test]:
--
2.41.0
next prev parent reply other threads:[~2023-09-08 8:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-08 8:27 [igt-dev] [PATCH i-g-t v4 00/11] Xe: set Run type from testlist instead of defining it Mauro Carvalho Chehab
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 01/11] test_list.py: add support for reading testlist regular expressions Mauro Carvalho Chehab
2023-09-08 17:47 ` Kamil Konieczny
2023-09-08 19:19 ` Mauro Carvalho Chehab
2023-09-11 8:51 ` Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 02/11] xe_test_config.json: add testlists and blacklists Mauro Carvalho Chehab
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 03/11] kms_test_config.json: " Mauro Carvalho Chehab
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 04/11] tests: Intel Xe: drop Run type field Mauro Carvalho Chehab
2023-09-08 10:00 ` Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 05/11] tests: Intel KMS: " Mauro Carvalho Chehab
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 06/11] scripts/test_list.py: move "FULL" testlist to config file Mauro Carvalho Chehab
2023-09-08 17:48 ` Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 07/11] scripts/test_list.py: don't be greedy while matching data from testlists Mauro Carvalho Chehab
2023-09-08 17:49 ` Kamil Konieczny
2023-09-08 8:27 ` Mauro Carvalho Chehab [this message]
2023-09-08 17:51 ` [igt-dev] [PATCH i-g-t v4 08/11] scripts/test_list.py: fix gen_testlist logic Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 09/11] scripts/test_list.py: add support for expanding fields on spreadsheet Mauro Carvalho Chehab
2023-09-08 17:53 ` Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 10/11] scripts/doc_to_xls.py: expand GPU excluded platform Mauro Carvalho Chehab
2023-09-08 17:56 ` Kamil Konieczny
2023-09-08 19:17 ` Mauro Carvalho Chehab
2023-09-11 9:04 ` Kamil Konieczny
2023-09-08 8:27 ` [igt-dev] [PATCH i-g-t v4 11/11] scripts/doc_to_xls.py: improve XLS output format Mauro Carvalho Chehab
2023-09-08 17:57 ` Kamil Konieczny
2023-09-08 9:25 ` [igt-dev] ✗ CI.xeBAT: failure for Xe: set Run type from testlist instead of defining it Patchwork
2023-09-08 9:28 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-09-08 15:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230908083734.1084351-9-mauro.chehab@linux.intel.com \
--to=mauro.chehab@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox