[igt-dev] [PATCH i-g-t v4 00/11] Make test_list.py more generic
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Thu Aug 31 14:52:02 UTC 2023
From: Mauro Carvalho Chehab <mchehab at 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.
---
v4:
- patches reordered;
- removed the patches related to testplan check, as those caused
build problems at the last submissions. Let's merge first the
main changes. I'll submit the last two patches on a separate
PR.
v3:
- fixed dependencies for built_script target;
- added an extra cleanup patch to better handle internal fields.
Mauro Carvalho Chehab (11):
scripts/test_list.py: make the class more generic
scripts/test_list.py: rename the internal summary value
scripts/test_list.py: document what BAT stands for
scripts/test_list.py: close config file before start processing
scripts/test_list.py: filename arguments for print_ methods are
optional
scripts/test_list.py: add a check before deleting properties
scripts/test_list.py: skip some internal fields
scripts/test_list.py: add support to return a string instead of print
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/igt_doc.py | 6 +-
scripts/test_list.py | 377 +++++++++++++++++++++++--------------------
2 files changed, 205 insertions(+), 178 deletions(-)
mode change 100755 => 100644 scripts/test_list.py
--
2.41.0
More information about the igt-dev
mailing list