[igt-dev] [PATCH i-g-t] i915/i915_module_load: Add descriptions for test and it's subtests

apoorva1.singh at intel.com apoorva1.singh at intel.com
Sat Nov 7 16:49:15 UTC 2020


From: Apoorva Singh <apoorva1.singh at intel.com>

Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
 tests/i915/i915_module_load.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/i915/i915_module_load.c b/tests/i915/i915_module_load.c
index aa998b99..476bc6ae 100644
--- a/tests/i915/i915_module_load.c
+++ b/tests/i915/i915_module_load.c
@@ -36,6 +36,8 @@
 #include <sys/ioctl.h>
 #include <fcntl.h>
 
+IGT_TEST_DESCRIPTION("Tests the i915 module loading");
+
 #define ENGINE_MASK  (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
 
 static void store_dword(int fd, unsigned ring)
@@ -320,6 +322,7 @@ hda_dynamic_debug(bool enable)
 
 igt_main
 {
+	igt_describe("Verify the basic functionality of i915 driver after it's reloaded");
 	igt_subtest("reload") {
 		int load_error;
 
@@ -337,6 +340,7 @@ igt_main
 		/* only default modparams, can leave module loaded */
 	}
 
+	igt_describe("Verify that i915 driver can be successfully loaded with disabled display");
 	igt_subtest("reload-no-display") {
 		igt_i915_driver_unload();
 
@@ -345,6 +349,8 @@ igt_main
 		igt_i915_driver_unload();
 	}
 
+	igt_describe("Verify that i915 driver can be successfully reloaded atleast once "
+	       "with fault injection");
 	igt_subtest("reload-with-fault-injection") {
 		const char *param;
 		int i = 0;
-- 
2.25.1



More information about the igt-dev mailing list