Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] scripts/test_list: Add igt-test-documentation URL to the logs
@ 2023-06-12  5:09 Bhanuprakash Modem
  2023-06-12  8:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2023-06-12 11:59 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Bhanuprakash Modem @ 2023-06-12  5:09 UTC (permalink / raw)
  To: igt-dev

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

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

diff --git a/scripts/test_list.py b/scripts/test_list.py
index 2810c2358..0d31ac75f 100755
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -21,6 +21,8 @@ MIN_PYTHON = (3, 6)
 if sys.version_info < MIN_PYTHON:
     sys.exit("Python %s.%s or later is required.\n" % MIN_PYTHON) # pylint: disable=C0209
 
+IGT_DOC_URL = "https://gfx-linux.intel.com/igt-doc.html#igt-test-documentation"
+
 #
 # ancillary functions to sort dictionary hierarchy
 #
@@ -953,6 +955,8 @@ class TestList:
         if run_missing:
             for test_name in run_missing:
                 print(f'Warning: Missing documentation for {test_name}')
+            print(f'Please refer: {IGT_DOC_URL}')
+
         if doc_uneeded or run_missing:
             sys.exit(1)
 
-- 
2.40.0

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

end of thread, other threads:[~2023-06-12 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12  5:09 [igt-dev] [i-g-t] scripts/test_list: Add igt-test-documentation URL to the logs Bhanuprakash Modem
2023-06-12  8:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-06-12 11:59 ` [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