[igt-dev] [i-g-t V3 05/82] testplan/kms: Add support to differentiate b/w drivers

Bhanuprakash Modem bhanuprakash.modem at intel.com
Tue May 23 06:31:26 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: any  (tests supports both i915 & xe)

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 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 b81b3ba55..e563bbd12 100644
--- a/tests/kms_test_config.json
+++ b/tests/kms_test_config.json
@@ -22,6 +22,11 @@
                 "description": "Defines what category of testlist it belongs"
             }
         },
+        "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