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

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue Oct 24 14:11:03 UTC 2023


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

This patch series comes after:
	https://patchwork.freedesktop.org/series/125401/

(The three patches from it were added here, to allow CI to test
the new patches)

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.

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: change a regex to match case-insensitive

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            | 74 +++++++++++++++++++++++++++++++-
 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, 136 insertions(+), 20 deletions(-)

-- 
2.41.0



More information about the igt-dev mailing list