[igt-dev] [PATCH i-g-t] [RFC] scripts/test_list.py: enforce mandatory fields to be filled
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Thu Aug 31 12:58:23 UTC 2023
From: Mauro Carvalho Chehab <mchehab at kernel.org>
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 c23d6d735edf..d52cf23a18ad 100755
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -1000,7 +1000,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.41.0
More information about the igt-dev
mailing list