[igt-dev] [PATCH i-g-t v3 3/3] scripts/test_list.py: enforce mandatory fields to be filled

Katarzyna Dec katarzyna.dec at intel.com
Wed Sep 6 09:23:37 UTC 2023


If they won't be filled, compilation will break.

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

diff --git a/scripts/test_list.py b/scripts/test_list.py
index 4cd976c8d..f467f534f 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -1027,7 +1027,7 @@ class TestList:
         if run_missing:
             for test_name in run_missing:
                 print(f'Warning: Missing documentation for {test_name}')
-        if doc_uneeded or run_missing:
+        if doc_uneeded or run_missing or missing_mandatory_fields:
             sys.exit(1)
 
     #
-- 
2.34.1



More information about the igt-dev mailing list