Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 00/11] Improve igt_doc.py
@ 2023-03-27 13:31 Mauro Carvalho Chehab
  2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 01/11] xe_test_config.json: do some adjustments at the output hierarchy Mauro Carvalho Chehab
                   ` (14 more replies)
  0 siblings, 15 replies; 25+ messages in thread
From: Mauro Carvalho Chehab @ 2023-03-27 13:31 UTC (permalink / raw)
  To: igt-dev

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

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.

Mauro Carvalho Chehab (11):
  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

 docs/testplan/meson.build      |    8 +-
 meson.build                    |    1 +
 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 +-
 7 files changed, 1143 insertions(+), 1054 deletions(-)
 create mode 100755 scripts/test_list.py

-- 
2.39.2

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-03-30  5:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-27 13:31 [igt-dev] [PATCH i-g-t 00/11] Improve igt_doc.py Mauro Carvalho Chehab
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 01/11] xe_test_config.json: do some adjustments at the output hierarchy Mauro Carvalho Chehab
2023-03-29 17:47   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 02/11] scripts/igt_doc.py: move show_subtests logic to the class Mauro Carvalho Chehab
2023-03-29 17:49   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 03/11] scripts/igt_doc.py: add support to generate testlists Mauro Carvalho Chehab
2023-03-29 17:51   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 04/11] scripts/igt_doc.py: prepare to place TestList class on a separate file Mauro Carvalho Chehab
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 05/11] scripts/test_list.py: prepare to place " Mauro Carvalho Chehab
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 06/11] scripts/igt_doc.py: re-introduce it by calling test_list.py Mauro Carvalho Chehab
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 07/11] scripts/test_list.py: better handle documentation validation issues Mauro Carvalho Chehab
2023-03-29 17:53   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 08/11] scripts/test_list.py: add support for igt_simple_main Mauro Carvalho Chehab
2023-03-29 17:54   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 09/11] testplan/meson.build: Validate documentation at build time Mauro Carvalho Chehab
2023-03-29 17:55   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 10/11] xe/xe_vm: add documentation for igt@xe_vm@userptr-invalid Mauro Carvalho Chehab
2023-03-29 17:56   ` Kamil Konieczny
2023-03-27 13:31 ` [igt-dev] [PATCH i-g-t 11/11] xe/xe_noexec_ping_pong: document subtest Mauro Carvalho Chehab
2023-03-29 17:56   ` Kamil Konieczny
2023-03-27 15:58 ` [igt-dev] ✗ GitLab.Pipeline: warning for Improve igt_doc.py Patchwork
2023-03-27 16:15 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-03-27 22:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-03-29 17:59 ` [igt-dev] [PATCH i-g-t 00/11] " Kamil Konieczny
2023-03-30  5:25   ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox