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

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Thu Jul 13 07:50:52 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.

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
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 6b0893a6da95..8e7ddef2bfb4 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