[igt-dev] [PATCH i-g-t v5 10/11] scripts/doc_to_xls.py: expand GPU excluded platform

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Fri Sep 8 10:31:52 UTC 2023


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

As this item reflect blacklists, better to expand it at the
spreadsheet, as it makes easier to filter for it.

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

diff --git a/scripts/doc_to_xls.py b/scripts/doc_to_xls.py
index 8531eeb81779..3af3488928cf 100755
--- a/scripts/doc_to_xls.py
+++ b/scripts/doc_to_xls.py
@@ -48,6 +48,10 @@ for config_file in parse_args.config:
 wb = Workbook()
 ws = None
 
+expand_fields = {
+    "GPU excluded platform": "blacklist "
+}
+
 for row in range(len(tests)):
     test = tests[row]
     sheet_name = test.title
@@ -58,7 +62,7 @@ for row in range(len(tests)):
     else:
         ws = wb.create_sheet(sheet_name)
 
-    sheet = test.get_spreadsheet()
+    sheet = test.get_spreadsheet(expand_fields)
 
     max_length = []
     for col in range(len(sheet[row])):
-- 
2.41.0



More information about the igt-dev mailing list