Skip to content

better sync test_list.py with igt_runner

Mauro Carvalho Chehab igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- instead of modifying a test for case-insensitive regex, add a new subtest.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7runner: Normalize testlist entries that don't list subtestsrunner/job_list.c+21 -10 replies
2/7runner/runner_tests: Unit tests for binary-name-only testlist entriesrunner/runner_tests.c+70 -01 reply
3/7runner/runner_tests: Fix name of no-subtests in unit testsrunner/runner_tests.c+2 -21 reply
4/7igt_runner: don't require root for dry_runrunner/settings.c+1 -00 replies
5/7scripts/test_list.py: better handle list of testsscripts/test_list.py tests/intel/kms_test_config.json tests/intel/xe_test_config.json+41 -160 replies
6/7runner/job_list: use case-insensitive regular expressionsrunner/settings.c+1 -10 replies
7/7runner/runner_tests: add a test to check case-insensitive matchrunner/runner_tests.c+25 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchMauro Carvalho ChehabKamil Konieczny
1/7R-b
2/7A-b R-b
3/7A-b R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 0/7] better sync test_list.py with igt_runner

From: Mauro Carvalho Chehab <[email protected]>

This patch series contains the patches from:

	https://patchwork.freedesktop.org/series/125401/

It contains some additional changes meant to sync how IGT runner, documentation tools and CI works with regular expressions:

- the IGT runner regular expressions are now case-insensitive. As there are several KMS tests have upper case letters to indicate port entries. There's no sense of having tests named:
igt@foo-port-A being different than igt@foo-port-a. One of the runner tests were changed to only match if case is not sensitive on regular expressions;

- when igt_runner is in dry-run mode, it doesn't need root permissions;

- currently, test_list.py is considering testlists as regular expressions, but they're really a normal list of tests. Change the logic to handle it accordingly.

---

v2:
- instead of modifying a test for case-insensitive regex, add a new subtest.

Mauro Carvalho Chehab (4):
igt_runner: don't require root for dry_run scripts/test_list.py: better handle list of tests runner/job_list: use case-insensitive regular expressions runner/runner_tests: add a test to check case-insensitive match

Petri Latvala (3):
runner: Normalize testlist entries that don't list subtests runner/runner_tests: Unit tests for binary-name-only testlist entries runner/runner_tests: Fix name of no-subtests in unit tests

 runner/job_list.c                | 22 ++++++-
 runner/runner_tests.c            | 99 +++++++++++++++++++++++++++++++-
 runner/settings.c                |  3 +-
 scripts/test_list.py             | 54 ++++++++++++-----
 tests/intel/kms_test_config.json |  2 +-
 tests/intel/xe_test_config.json  |  1 +
 6 files changed, 161 insertions(+), 20 deletions(-)
Signature · 1 line
2.41.0