Skip to contentSkip to conversation

tests/intel: add other missing core tests to xe_test_config.json

PATCH In review Mauro Carvalho Chehab 2 participants 2 messages May 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests/intel: add other missing core tests to xe_test_config.json

From: Mauro Carvalho Chehab <[email protected]>

All core tests are used to check Xe functionality. Add them to the Xe testplan configuration.

Also, move descriptions for simple tests to the right place,
as otherwise warnings will be produced:
Warning: igt@core_getclient Description documentation is missing
Warning: igt@core_getstats Description documentation is missing
Warning: igt@core_setmaster_vs_auth Description documentation is missing

As each subtest requires its own description.

---
 tests/core_getclient.c          | 1 +
 tests/core_getstats.c           | 1 +
 tests/core_setmaster_vs_auth.c  | 1 +
 tests/intel/xe_test_config.json | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)
tests/core_getclient.c +1 -0
index 308f2c0e4422..5914335724d3 100644
@@ -41,6 +41,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Tests the DRM_IOCTL_GET_CLIENT ioctl.
  */
 
 IGT_TEST_DESCRIPTION("Tests the DRM_IOCTL_GET_CLIENT ioctl.");
tests/core_getstats.c +1 -0
index b2d26a8260a9..05e0eae34008 100644
@@ -42,6 +42,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Tests the DRM_IOCTL_GET_STATS ioctl.
  */
 
 /**
tests/core_setmaster_vs_auth.c +1 -0
index 592d850f6bc5..4605f84530e4 100644
@@ -50,6 +50,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Check that drop/setMaster correctly transfer master state
  */
 
 IGT_TEST_DESCRIPTION("Check that drop/setMaster correctly transfer master "
tests/intel/xe_test_config.json +1 -1
index 3775e63fc65e..6651c12073c6 100644
@@ -2,7 +2,7 @@
     "description": "JSON file to be used to parse Xe documentation",
     "name": "Tests for Xe Driver",
     "drivers": [ "xe" ],
-    "files": [ "xe_*.c", "../core_hotunplug.c", "../sriov_basic.c", "intel_hwmon.c" ],
+    "files": [ "xe_*.c", "../core_*.c", "../sriov_basic.c", "intel_hwmon.c" ],
     "fields": {
         "Run type": {
             "_properties_": {
Signature · 1 line
2.44.0
Reviewed-by on v2 1/1
#1 lore raw

Hi Mauro,

Quoted 6 lines · Mauro Carvalho Chehab

From: Mauro Carvalho Chehab <[email protected]>

All core tests are used to check Xe functionality. Add them to the Xe testplan configuration.

Also, move descriptions for simple tests to the right place,

------- ^^^^
s/move/add/

With that,

Quoted 67 lines

as otherwise warnings will be produced:
Warning: igt@core_getclient Description documentation is missing
Warning: igt@core_getstats Description documentation is missing
Warning: igt@core_setmaster_vs_auth Description documentation is missing

As each subtest requires its own description.

---
 tests/core_getclient.c          | 1 +
 tests/core_getstats.c           | 1 +
 tests/core_setmaster_vs_auth.c  | 1 +
 tests/intel/xe_test_config.json | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)
tests/core_getclient.c +1 -0
index 308f2c0e4422..5914335724d3 100644
@@ -41,6 +41,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Tests the DRM_IOCTL_GET_CLIENT ioctl.
  */
 
 IGT_TEST_DESCRIPTION("Tests the DRM_IOCTL_GET_CLIENT ioctl.");
tests/core_getstats.c +1 -0
index b2d26a8260a9..05e0eae34008 100644
@@ -42,6 +42,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Tests the DRM_IOCTL_GET_STATS ioctl.
  */
 
 /**
tests/core_setmaster_vs_auth.c +1 -0
index 592d850f6bc5..4605f84530e4 100644
@@ -50,6 +50,7 @@
  * Test category: GEM_Legacy
  *
  * SUBTEST:
+ * Description: Check that drop/setMaster correctly transfer master state
  */
 
 IGT_TEST_DESCRIPTION("Check that drop/setMaster correctly transfer master "
tests/intel/xe_test_config.json +1 -1
index 3775e63fc65e..6651c12073c6 100644
@@ -2,7 +2,7 @@
     "description": "JSON file to be used to parse Xe documentation",
     "name": "Tests for Xe Driver",
     "drivers": [ "xe" ],
-    "files": [ "xe_*.c", "../core_hotunplug.c", "../sriov_basic.c", "intel_hwmon.c" ],
+    "files": [ "xe_*.c", "../core_*.c", "../sriov_basic.c", "intel_hwmon.c" ],
     "fields": {
         "Run type": {
             "_properties_": {
Signature · 1 line
2.44.0