Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] scripts/test_list: Add test_documentation ref to the logs
@ 2023-09-06  8:51 Bhanuprakash Modem
  2023-09-06  9:15 ` Mauro Carvalho Chehab
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bhanuprakash Modem @ 2023-09-06  8:51 UTC (permalink / raw)
  To: igt-dev

For new IGT users, it's helpful to have the ref (in case of
missing documentation) in IGT logs to refer igt documentation
page.

Example log:
 Warning: Missing documentation for igt@kms_color@degamma
 Warning: Missing documentation for igt@kms_flip@basic-plain-flip
 Please refer: docs/test_documentation.md for more details

Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 scripts/test_list.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/test_list.py b/scripts/test_list.py
index 4cd976c8d..2171f8b50 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -1027,6 +1027,8 @@ class TestList:
         if run_missing:
             for test_name in run_missing:
                 print(f'Warning: Missing documentation for {test_name}')
+            print(f'Please refer: docs/test_documentation.md for more details')
+
         if doc_uneeded or run_missing:
             sys.exit(1)
 
-- 
2.40.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-06 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  8:51 [igt-dev] [i-g-t] scripts/test_list: Add test_documentation ref to the logs Bhanuprakash Modem
2023-09-06  9:15 ` Mauro Carvalho Chehab
2023-09-06 10:14 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-09-06 13:31 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox