Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2 00/13] Make test_list.py more generic
@ 2023-07-12 13:58 Mauro Carvalho Chehab
  2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 01/13] tests/intel-ci/meson.build: Generate and store an intel-ci.testlist Mauro Carvalho Chehab
                   ` (15 more replies)
  0 siblings, 16 replies; 31+ messages in thread
From: Mauro Carvalho Chehab @ 2023-07-12 13:58 UTC (permalink / raw)
  To: igt-dev

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


While most of the code at test_list.py is generic, it contains a
couple of IGT-specific stuff on it.

I'm planning to make it more generic, as we also need to document
in-kernel tests (KUnit).

So, let's remove what's specific to IGT to the main logic. This
way, the same code can be sent to the Linux Kernel upstream,
to be used to document kunit and kselftests there.

Mauro Carvalho Chehab (13):
  tests/intel-ci/meson.build: Generate and store an intel-ci.testlist
  scripts/test_list.py: make the class more generic
  scripts/test_list.py: rename the internal summary value
  scripts/igt_doc.py: pass a single file when checking docs
  scripts/test_list.py: document what BAT stands for
  scripts/test_list.py: close config file before start processing
  scripts/test_list.py: don't rely on file name to parse config
  scripts/test_list.py: allow passing a config dict directly
  scripts/igt_doc.py: use field names when create a TestList instance
  scripts/test_list.py: add a check before deleting properties
  scripts/test_list.py: filename arguments for print_ methods are
    optional
  scripts/test_list.py: skip some internal fields
  scripts/test_list.py: add support to return a string instead of print

 docs/testplan/meson.build  |   2 +-
 scripts/igt_doc.py         |  10 +-
 scripts/test_list.py       | 363 ++++++++++++++++++++-----------------
 tests/intel-ci/meson.build |   8 +
 4 files changed, 212 insertions(+), 171 deletions(-)
 mode change 100755 => 100644 scripts/test_list.py

-- 
2.40.1

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

end of thread, other threads:[~2023-07-13 11:32 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 13:58 [igt-dev] [PATCH i-g-t v2 00/13] Make test_list.py more generic Mauro Carvalho Chehab
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 01/13] tests/intel-ci/meson.build: Generate and store an intel-ci.testlist Mauro Carvalho Chehab
2023-07-12 17:22   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 02/13] scripts/test_list.py: make the class more generic Mauro Carvalho Chehab
2023-07-12 17:29   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 03/13] scripts/test_list.py: rename the internal summary value Mauro Carvalho Chehab
2023-07-12 17:31   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 04/13] scripts/igt_doc.py: pass a single file when checking docs Mauro Carvalho Chehab
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 05/13] scripts/test_list.py: document what BAT stands for Mauro Carvalho Chehab
2023-07-12 18:30   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 06/13] scripts/test_list.py: close config file before start processing Mauro Carvalho Chehab
2023-07-12 18:38   ` Kamil Konieczny
2023-07-13  5:47     ` Mauro Carvalho Chehab
2023-07-13 10:20       ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 07/13] scripts/test_list.py: don't rely on file name to parse config Mauro Carvalho Chehab
2023-07-12 18:42   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 08/13] scripts/test_list.py: allow passing a config dict directly Mauro Carvalho Chehab
2023-07-12 18:45   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 09/13] scripts/igt_doc.py: use field names when create a TestList instance Mauro Carvalho Chehab
2023-07-12 18:50   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 10/13] scripts/test_list.py: add a check before deleting properties Mauro Carvalho Chehab
2023-07-12 18:52   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 11/13] scripts/test_list.py: filename arguments for print_ methods are optional Mauro Carvalho Chehab
2023-07-12 18:55   ` Kamil Konieczny
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 12/13] scripts/test_list.py: skip some internal fields Mauro Carvalho Chehab
2023-07-12 19:12   ` Kamil Konieczny
2023-07-13  5:52     ` Mauro Carvalho Chehab
2023-07-12 13:58 ` [igt-dev] [PATCH i-g-t v2 13/13] scripts/test_list.py: add support to return a string instead of print Mauro Carvalho Chehab
2023-07-12 14:44 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Make test_list.py more generic Patchwork
2023-07-13  9:12 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Make test_list.py more generic (rev2) Patchwork
2023-07-13 11:32 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Make test_list.py more generic (rev3) Patchwork

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