[PATCH i-g-t v2 06/16] tests: Add DRIVER_ANY tests to General Core Mega feature
Katarzyna Piecielska
katarzyna.piecielska at intel.com
Tue Apr 23 10:49:03 UTC 2024
Add tests with DRIVER_ANY to 'General Core feature' mega feature.
Group:
SUBTEST
Description
Category
Mega feature
Sub-category
Functionality
Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Cc: Aditya Chauhan <aditya.chauhan at intel.com>
Cc: Girotra Himanshu <himanshu.girotra at intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli at intel.com>
---
tests/core_auth.c | 7 ++++---
tests/core_getclient.c | 7 ++++---
tests/core_getstats.c | 7 ++++---
tests/core_getversion.c | 7 ++++---
tests/core_hotunplug.c | 5 +++--
tests/core_setmaster.c | 7 ++++---
tests/core_setmaster_vs_auth.c | 7 ++++---
tests/device_reset.c | 8 ++++----
tests/dumb_buffer.c | 7 ++++---
tests/prime_vgem.c | 7 ++++---
tests/sw_sync.c | 9 +++++----
tests/syncobj_basic.c | 7 ++++---
tests/syncobj_timeline.c | 9 +++++----
tests/syncobj_wait.c | 9 +++++----
tests/vgem_basic.c | 5 +++--
tests/vgem_slow.c | 7 ++++---
16 files changed, 65 insertions(+), 50 deletions(-)
diff --git a/tests/core_auth.c b/tests/core_auth.c
index 2d6ad83e9..1ba518a58 100644
--- a/tests/core_auth.c
+++ b/tests/core_auth.c
@@ -44,11 +44,12 @@
#include "drm.h"
/**
* TEST: core auth
- * Category: Desktop client
* Description: Call drmGetMagic() and drmAuthMagic() and see if it behaves.
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST: basic-auth
diff --git a/tests/core_getclient.c b/tests/core_getclient.c
index 308f2c0e4..9875ca990 100644
--- a/tests/core_getclient.c
+++ b/tests/core_getclient.c
@@ -33,11 +33,12 @@
/**
* TEST: core getclient
- * Category: Desktop client
* Description: Tests the DRM_IOCTL_GET_CLIENT ioctl.
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST:
diff --git a/tests/core_getstats.c b/tests/core_getstats.c
index b2d26a826..bb28c2d77 100644
--- a/tests/core_getstats.c
+++ b/tests/core_getstats.c
@@ -34,11 +34,12 @@
/**
* TEST: core getstats
- * Category: Desktop client
* Description: Tests the DRM_IOCTL_GET_STATS ioctl.
- * Feature: core
- * Functionality: DRM memory management
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: uapi
+ * Functionality: DRM memory management
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST:
diff --git a/tests/core_getversion.c b/tests/core_getversion.c
index 94cedff8c..bb2e6013d 100644
--- a/tests/core_getversion.c
+++ b/tests/core_getversion.c
@@ -30,11 +30,12 @@
#include <sys/ioctl.h>
/**
* TEST: core getversion
- * Category: Desktop client
* Description: Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's drmGetVersion() interface to it.
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST: basic
diff --git a/tests/core_hotunplug.c b/tests/core_hotunplug.c
index 9af857e67..afd7c3faa 100644
--- a/tests/core_hotunplug.c
+++ b/tests/core_hotunplug.c
@@ -42,11 +42,12 @@
/**
* TEST: core hotunplug
* Description: Examine behavior of a driver on device hot unplug
- * Feature: SMI, core
- * Test category: functionality test
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: driver
* Functionality: device hotplug
+ * Feature: SMI, core
+ * Test category: functionality test
*
* SUBTEST: hotrebind
* Description: Check if the driver can be cleanly rebound to a device with a
diff --git a/tests/core_setmaster.c b/tests/core_setmaster.c
index 707c2305f..21c62036e 100644
--- a/tests/core_setmaster.c
+++ b/tests/core_setmaster.c
@@ -40,11 +40,12 @@
#include <sys/stat.h>
/**
* TEST: core setmaster
- * Category: Desktop client
* Description: Check that Drop/SetMaster behaves correctly wrt root/user access
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST: master-drop-set-root
diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c
index 592d850f6..a5e0c8b2d 100644
--- a/tests/core_setmaster_vs_auth.c
+++ b/tests/core_setmaster_vs_auth.c
@@ -42,11 +42,12 @@
#include "igt_device.h"
/**
* TEST: core setmaster vs auth
- * Category: Desktop client
* Description: Check that drop/setMaster correctly transfer master state
- * Feature: core
- * Functionality: permission management for clients
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: permission management for clients
+ * Feature: core
* Test category: GEM_Legacy
*
* SUBTEST:
diff --git a/tests/device_reset.c b/tests/device_reset.c
index 583a59039..de1a8a87b 100644
--- a/tests/device_reset.c
+++ b/tests/device_reset.c
@@ -16,12 +16,12 @@
#include "igt_kmod.h"
/**
* TEST: device reset
- * Category: Hardware building block
* Description: Examine behavior of a driver on device sysfs reset
- * Category: Server
- * Feature: reset
- * Functionality: sysfs reset
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: Reset
+ * Functionality: sysfs reset
+ * Feature: reset
* Test category: GEM_Legacy
*
* SUBTEST: cold-reset-bound
diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c
index 8e243459c..f27e113d4 100644
--- a/tests/dumb_buffer.c
+++ b/tests/dumb_buffer.c
@@ -51,11 +51,12 @@
#include "ioctl_wrappers.h"
/**
* TEST: dumb buffer
- * Category: Desktop client
* Description: This is a test for the generic dumb buffer interface.
- * Feature: prime
- * Functionality: ioctl
+ * Category: Desktop client
+ * Mega feature: General Core features
* Sub-category: uapi
+ * Functionality: ioctl
+ * Feature: prime
* Test category: Compositor
*
* SUBTEST: create-clear
diff --git a/tests/prime_vgem.c b/tests/prime_vgem.c
index fa19d8e64..3af0eb430 100644
--- a/tests/prime_vgem.c
+++ b/tests/prime_vgem.c
@@ -32,11 +32,12 @@
#include "intel_batchbuffer.h" /* igt_blitter_copy() */
/**
* TEST: prime vgem
- * Category: Infrastructure
* Description: Basic check of polling for prime/vgem fences.
- * Feature: prime
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: mock device
+ * Feature: prime
* Test category: GEM_Legacy
*
* SUBTEST: basic-blt
diff --git a/tests/sw_sync.c b/tests/sw_sync.c
index a276c4a22..e01397460 100644
--- a/tests/sw_sync.c
+++ b/tests/sw_sync.c
@@ -40,11 +40,12 @@
/**
* TEST: sw sync
- * Category: Infrastructure
* Description: Test SW Sync Framework
- * Feature: semaphore
- * Functionality: sw sync framework
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
* Test category: GEM_Legacy
*
* SUBTEST: alloc_fence
diff --git a/tests/syncobj_basic.c b/tests/syncobj_basic.c
index d1ea872cf..9e905a939 100644
--- a/tests/syncobj_basic.c
+++ b/tests/syncobj_basic.c
@@ -28,11 +28,12 @@
#include "drm.h"
/**
* TEST: syncobj basic
- * Category: Infrastructure
* Description: Basic check for drm sync objects.
- * Feature: semaphore
- * Functionality: drm sync object
+ * Category: Infrastructure
+ * Mega feature: General Core features
* Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
* Test category: GEM_Legacy
*
* SUBTEST: bad-create-flags
diff --git a/tests/syncobj_timeline.c b/tests/syncobj_timeline.c
index f7e33604d..e9c3ac740 100644
--- a/tests/syncobj_timeline.c
+++ b/tests/syncobj_timeline.c
@@ -32,11 +32,12 @@
#include "drm.h"
/**
* TEST: syncobj timeline
- * Category: Infrastructure
* Description: Tests for the drm timeline sync object API
- * Feature: synchronization feature
- * Functionality: sync_object
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
* Test category: GEM_Legacy
*
* SUBTEST: 32bits-limit
diff --git a/tests/syncobj_wait.c b/tests/syncobj_wait.c
index 571e3c2af..26fce89fe 100644
--- a/tests/syncobj_wait.c
+++ b/tests/syncobj_wait.c
@@ -32,11 +32,12 @@
#include "drm.h"
/**
* TEST: syncobj wait
- * Category: Infrastructure
* Description: Tests for the drm sync object wait API
- * Feature: synchronization feature
- * Functionality: object wait
- * Sub-category: uapi
+ * Category: Infrastructure
+ * Mega feature: General Core features
+ * Sub-category: Synchronization
+ * Functionality: semaphore
+ * Feature: synchronization
* Test category: GEM_Legacy
*
* SUBTEST: invalid-multi-wait-all-unsubmitted
diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
index cb92efbf5..fa61e6cdb 100644
--- a/tests/vgem_basic.c
+++ b/tests/vgem_basic.c
@@ -33,10 +33,11 @@
#include <dirent.h>
/**
* TEST: vgem basic
- * Category: Infrastructure
* Description: Basic sanity check of Virtual GEM module (vGEM).
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
* Sub-category: Core
+ * Functionality: mock device
* Test category: GEM_Legacy
* Feature: vgem
*
diff --git a/tests/vgem_slow.c b/tests/vgem_slow.c
index 35761a4ee..d350da793 100644
--- a/tests/vgem_slow.c
+++ b/tests/vgem_slow.c
@@ -32,11 +32,12 @@
#include <dirent.h>
/**
* TEST: vgem slow
- * Category: Infrastructure
* Description: Extended sanity check of Virtual GEM module (vGEM).
- * Feature: vgem
- * Functionality: mock device
+ * Category: Infrastructure
+ * Mega feature: General Core features
* Sub-category: DRM
+ * Functionality: mock device
+ * Feature: vgem
* Test category: GEM_Legacy
*
* SUBTEST: nohang
--
2.34.1
More information about the igt-dev
mailing list