[igt-dev] [PATCH i-g-t 0/3] Produce per-GPU testlists for IntelCI

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Nov 29 12:25:33 UTC 2023


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

This series contain an improvement to IGT documentation tool to
help generating per-GPU testlists.

This helps producing testlists to be used by Intel CI automation,
as tests that are specific to certain GPUs or ones that won't be
running on some specific configurations can be excluded from
the testlists, making the test results more reliable, saving
execution time on CI and keeping such exclusions properly
documented.

With such change, assuming that some tests would be needed to
be blocked on a "foo" configutation, running

	./scripts/igt_doc.py --config tests/intel/xe_test_config.json --intelci-testlist intel-ci

will produce a set of testlist files like:

	intel-ci/
	└── xe
	    ├── default
	    │   ├── bat.testlist
	    │   ├── full.testlist
	    │   └── other.testlist
	    └── foo
	        ├── bat.testlist
	        ├── full.testlist
	        └── other.testlist

Where the "foo" testlists will have a different set of sets on
their testlists, due to blocklisted tests.

Mauro Carvalho Chehab (3):
  igt_doc: Add driver name list at JSON configuration
  tests/intel: *.json: specify what drivers use such tests
  scripts/igt_doc.py: add a logic to generate Intel CI testlists

 scripts/igt_doc.py                | 192 +++++++++++++++++++++++++++++-
 scripts/test_list.py              |   5 +
 tests/intel/i915_test_config.json |   1 +
 tests/intel/kms_test_config.json  |   1 +
 tests/intel/xe_test_config.json   |   1 +
 5 files changed, 198 insertions(+), 2 deletions(-)

-- 
2.42.0



More information about the igt-dev mailing list