[igt-dev] [i-g-t V7 02/81] testplan/kms: Add support to differentiate b/w drivers

Bhanuprakash Modem bhanuprakash.modem at intel.com
Tue Aug 15 16:46:56 UTC 2023


Add support to differentiate the subtests based on the driver
support, since many kms tests supports both i915 & xe drivers.

Add a new field "Driver requirement" to test_config.json

Example:
- Driver requirement: i915 (i915 specific test)
- Driver requirement: xe   (xe specific test)
- Driver requirement: i915, xe  (tests supports both i915 & xe)

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 tests/kms_test_config.json | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_test_config.json b/tests/kms_test_config.json
index 447a13337..7a43da74e 100644
--- a/tests/kms_test_config.json
+++ b/tests/kms_test_config.json
@@ -23,6 +23,11 @@
                 }
             }
         },
+        "Driver requirement": {
+            "_properties_": {
+                "description": "Describes any Driver specific requrirement, like i915/xe."
+            }
+        },
         "Test category": {
             "_properties_": {
                 "description": "Defines the test category. Usually used at subtest level."
-- 
2.40.0



More information about the igt-dev mailing list