From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [i-g-t] scripts/test_list: Add igt-test-documentation URL to the logs
Date: Mon, 12 Jun 2023 10:39:54 +0530 [thread overview]
Message-ID: <20230612050954.1412387-1-bhanuprakash.modem@intel.com> (raw)
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
next reply other threads:[~2023-06-12 5:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 5:09 Bhanuprakash Modem [this message]
2023-06-12 8:23 ` [igt-dev] ✓ Fi.CI.BAT: success for scripts/test_list: Add igt-test-documentation URL to the logs Patchwork
2023-06-12 11:59 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230612050954.1412387-1-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox