From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/3] xe_test_config.json: mark some fields are mandatory at subtest level
Date: Thu, 10 Aug 2023 14:32:29 +0200 [thread overview]
Message-ID: <20230810123402.969597-2-mauro.chehab@linux.intel.com> (raw)
In-Reply-To: <20230810123402.969597-1-mauro.chehab@linux.intel.com>
From: Mauro Carvalho Chehab <mchehab@kernel.org>
Some IGT Xe tests were added without proper documentation.
Currently, igt_doc.py doesn't know what fields are mandatory or
not, so it can't enforce it.
Add a field to mark those.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
tests/xe/xe_test_config.json | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/xe/xe_test_config.json b/tests/xe/xe_test_config.json
index 08c39de74384..8fb65d02d840 100644
--- a/tests/xe/xe_test_config.json
+++ b/tests/xe/xe_test_config.json
@@ -5,6 +5,7 @@
"fields": {
"Category": {
"_properties_": {
+ "mandatory": true,
"description": "Contains the major group for the tested functionality, being hardware, software or firmware"
},
"Mega feature": {
@@ -13,10 +14,12 @@
},
"Sub-category": {
"_properties_": {
+ "mandatory": true,
"description": "Contains the the technical feature/functionality"
},
"Functionality": {
"_properties_": {
+ "mandatory": true,
"description": "Groups page table tests on buckets containg more detailed functionality"
},
"Feature": {
@@ -27,6 +30,7 @@
},
"Run type": {
"_properties_": {
+ "mandatory": true,
"description": "Defines what category of testlist it belongs",
"order": [
"boot",
@@ -75,6 +79,7 @@
},
"Description" : {
"_properties_": {
+ "mandatory": true,
"description": "Provides a description for the test/subtest."
}
}
--
2.41.0
next prev parent reply other threads:[~2023-08-10 12:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 12:32 [igt-dev] [PATCH i-g-t 0/3] Validate Xe field descriptions at build time Mauro Carvalho Chehab
2023-08-10 12:32 ` Mauro Carvalho Chehab [this message]
2023-08-10 12:32 ` [igt-dev] [PATCH i-g-t 2/3] scripts/test_list.py: add a check for missing features Mauro Carvalho Chehab
2023-08-10 12:32 ` [igt-dev] [PATCH i-g-t 3/3] [RFC] scripts/test_list.py: enforce mandatory fields to be filled Mauro Carvalho Chehab
2023-08-10 14:45 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Validate Xe field descriptions at build time 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=20230810123402.969597-2-mauro.chehab@linux.intel.com \
--to=mauro.chehab@linux.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