[igt-dev] [PATCH i-g-t v2 2/4] xe_test_config.json: add an order for run type

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue Jun 20 08:55:20 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

When generating test lists based on run type for the Xe driver,
order them in a way that the first test will be the one called
after booting the machine (e. g. module load), then normal tests
and finally KUnit ones.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 tests/xe/xe_test_config.json | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/xe/xe_test_config.json b/tests/xe/xe_test_config.json
index 334d372d1330..e89f998bc66b 100644
--- a/tests/xe/xe_test_config.json
+++ b/tests/xe/xe_test_config.json
@@ -22,7 +22,12 @@
                     },
                     "Run type": {
                         "_properties_": {
-                            "description": "Defines what category of testlist it belongs"
+                            "description": "Defines what category of testlist it belongs",
+                            "order": [
+                                "boot",
+                                "__all__",
+                                "kunit"
+                            ]
                         }
                     }
                 }
-- 
2.40.1



More information about the igt-dev mailing list