[igt-dev] [PATCH i-g-t v2 12/13] scripts/test_list.py: skip some internal fields

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Jul 12 13:58:53 UTC 2023


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

both subtest_line and _summary_ are used internally at the script
logic. They shouldn't be part of the output.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 scripts/test_list.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/test_list.py b/scripts/test_list.py
index 1551bc92c010..11aed63cb67a 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -661,6 +661,10 @@ class TestList:
                     continue
                 if field == "arg":
                     continue
+                if field == "_summary_":
+                    continue
+                if field == "subtest_line":
+                    continue
 
                 print(f":{field}: {self.doc[test][field]}")
 
-- 
2.40.1



More information about the igt-dev mailing list