Skip to content

Improve igt_doc.py

Mauro Carvalho Chehab igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 1 replyIn review
  2. v212 patches 4 repliesSuperseded
  3. v111 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- fix a breakage with older meson releases

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12xe_test_config.json: do some adjustments at the output hierarchytests/xe/xe_test_config.json+15 -150 replies
2/12scripts/igt_doc.py: move show_subtests logic to the classscripts/igt_doc.py+20 -140 replies
3/12scripts/igt_doc.py: add support to generate testlistsscripts/igt_doc.py+37 -00 replies
4/12scripts/igt_doc.py: prepare to place TestList class on a separate filescripts/igt_doc.py+15 -80 replies
5/12scripts/test_list.py: prepare to place class on a separate filescripts/test_list.py+0 -00 replies
6/12scripts/igt_doc.py: re-introduce it by calling test_list.pyscripts/igt_doc.py scripts/test_list.py+80 -670 replies
7/12scripts/test_list.py: better handle documentation validation issuesscripts/test_list.py+4 -60 replies
8/12scripts/test_list.py: add support for igt_simple_mainscripts/test_list.py+19 -20 replies
9/12testplan/meson.build: Validate documentation at build timedocs/testplan/meson.build meson.build+7 -20 replies
10/12xe/xe_vm: add documentation for igt@xe_vm@userptr-invalidtests/xe/xe_vm.c+7 -30 replies
11/12xe/xe_noexec_ping_pong: document subtesttests/xe/xe_noexec_ping_pong.c+14 -120 replies
12/12runner/meson.build: fix minimal buildrunner/meson.build+1 -51 reply

Reviews trailers per patch

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

PatchKamil KoniecznyJari Tahvanainen
1/12R-b
2/12R-b
3/12R-b
4/12A-b
5/12A-b
6/12A-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12A-b

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

Read the v3 thread

Cover letter [igt-dev] [PATCH i-g-t v3 00/12] Improve igt_doc.py

From: Mauro Carvalho Chehab <[email protected]>

This series do some improvements at the igt_doc.py tool:

- It does some tweaks at the Xe documentation hierarchy;
- It adds support to generate test lists from documentation;
- It splits the script on two parts: one with the TestList class definition and another one with the toll itself;
- While here, add missing documentation for two new tests;
- Check if the documentation matches the actual tests at build time, in order to prevent it to become outdated.

---
v3:
- fix a breakage with older meson releases

v2:
- add a patch at the end to avoid a gitlab pipeline breakage.

Mauro Carvalho Chehab (12):
xe_test_config.json: do some adjustments at the output hierarchy scripts/igt_doc.py: move show_subtests logic to the class scripts/igt_doc.py: add support to generate testlists scripts/igt_doc.py: prepare to place TestList class on a separate file scripts/test_list.py: prepare to place class on a separate file scripts/igt_doc.py: re-introduce it by calling test_list.py scripts/test_list.py: better handle documentation validation issues scripts/test_list.py: add support for igt_simple_main testplan/meson.build: Validate documentation at build time xe/xe_vm: add documentation for igt@xe_vm@userptr-invalid xe/xe_noexec_ping_pong: document subtest runner/meson.build: fix minimal build

 docs/testplan/meson.build      |    8 +-
 meson.build                    |    1 +
 runner/meson.build             |    6 +-
 scripts/igt_doc.py             | 1038 +-----------------------------
 scripts/test_list.py           | 1084 ++++++++++++++++++++++++++++++++
 tests/xe/xe_noexec_ping_pong.c |   26 +-
 tests/xe/xe_test_config.json   |   30 +-
 tests/xe/xe_vm.c               |   10 +-
 8 files changed, 1144 insertions(+), 1059 deletions(-)
 create mode 100755 scripts/test_list.py
Signature · 1 line
2.39.2