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

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Mon Oct 30 09:49:55 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

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 at foo-port-A being different than igt at 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(-)

-- 
2.41.0



More information about the igt-dev mailing list