Skip to content

Make test_list.py more generic

Mauro Carvalho Chehab igt-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 3 repliesIn review
  2. v314 patches 4 repliesSuperseded
  3. v213 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches0 repliesSuperseded

Changes in v4 from the cover letter

- 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.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11scripts/test_list.py: make the class more genericscripts/test_list.py+27 -140 replies
2/11scripts/test_list.py: rename the internal summary valuescripts/test_list.py+22 -220 replies
3/11scripts/test_list.py: document what BAT stands forscripts/test_list.py+1 -10 replies
4/11scripts/test_list.py: close config file before start processingscripts/test_list.py+57 -571 reply
5/11scripts/test_list.py: filename arguments for print_ methods are optionalscripts/test_list.py+2 -20 replies
6/11scripts/test_list.py: add a check before deleting propertiesscripts/test_list.py+2 -10 replies
7/11scripts/test_list.py: skip some internal fieldsscripts/test_list.py+33 -351 reply
8/11scripts/test_list.py: add support to return a string instead of printscripts/test_list.py+36 -431 reply
9/11scripts/test_list.py: don't rely on file name to parse configscripts/test_list.py+10 -80 replies
10/11scripts/test_list.py: allow passing a config dict directlyscripts/test_list.py+25 -70 replies
11/11scripts/igt_doc.py: use field names when create a TestList instancescripts/igt_doc.py+4 -20 replies

Reviews trailers per patch

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

PatchKamil Konieczny
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v4 thread

Cover letter [igt-dev] [PATCH i-g-t v4 00/11] Make test_list.py more generic

From: Mauro Carvalho Chehab <[email protected]>

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
Signature · 1 line
2.41.0