[igt-dev] [PATCH i-g-t 00/18] Add igt_doc.py

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Mar 10 08:23:08 UTC 2023


Introduce documentation and testlist generator.

Mauro Carvalho Chehab (18):
  scripts/igt_doc.py: beautify its code
  scripts/igt_doc.py: add JSON file output
  scripts/igt_doc.py: dynamically create fields array from a JSON file
  scripts/igt_doc.py: add support to specify numeric values
  scripts/igt_doc.py: improve --show-subtests logic
  scripts/igt_doc.py: add error handler for subprocess
  scripts/igt_doc.py: improve multi-line logic
  scripts/igt_doc.py: don't use ":=" operator
  scripts/igt_doc.py: make it compatible with Python 3.6
  scripts/igt_doc.py: sets the minimal version to run the script
  scripts/igt_doc.py: use a different logic to get IGT prefix
  testplan/meson.build: add targets to build Xe test documentation
  xe/xe_test_config.json: cleanup the field struct
  xe/xe_huc_copy: add GPU dependency to its documentation
  xe/xe_*: add TEST/SUBTEST documentation
  xe-fast-feedback.testlist: update debugfs tests
  xe_mmap: skip VRAM tests if no VRAM is found
  meson: replace "igt at xe/" by "igt@"

 docs/testplan/meson.build                |  59 ++
 meson.build                              |   7 -
 scripts/igt_doc.py                       | 681 ++++++++++++++++++++---
 tests/intel-ci/xe-fast-feedback.testlist | 279 +++++-----
 tests/meson.build                        |  32 ++
 tests/xe/meson.build                     |  32 --
 tests/xe/xe_debugfs.c                    |  53 +-
 tests/xe/xe_evict.c                      |  82 +++
 tests/xe/xe_exec_balancer.c              |   7 +-
 tests/xe/xe_exec_compute_mode.c          |   2 +
 tests/xe/xe_exec_reset.c                 | 134 +++++
 tests/xe/xe_exec_threads.c               | 242 ++++++++
 tests/xe/xe_guc_pc.c                     |  74 +++
 tests/xe/xe_huc_copy.c                   |   4 +
 tests/xe/xe_mmap.c                       |  13 +-
 tests/xe/xe_pm.c                         |  61 ++
 tests/xe/xe_prime_self_import.c          |  65 ++-
 tests/xe/xe_query.c                      |   2 +-
 tests/xe/xe_test_config.json             |  80 +--
 tests/xe/xe_vm.c                         | 199 +++++++
 20 files changed, 1741 insertions(+), 367 deletions(-)
 create mode 100644 docs/testplan/meson.build

-- 
2.34.1



More information about the igt-dev mailing list