[igt-dev] [i-g-t 04/79] testplan/kms: Add support to differentiate b/w drivers

Bhanuprakash Modem bhanuprakash.modem at intel.com
Mon May 15 08:16:05 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 d2d6357d1..0238c51dc 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