[igt-dev] [PATCH i-g-t 1/2] i915/i915_module_load: Add descriptions for test

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Mon Apr 4 06:43:30 UTC 2022


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Add test description for subtests.

v2: Minute corrections.

Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.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 a86dd86c..f5f98acc 100644
--- a/tests/i915/i915_module_load.c
+++ b/tests/i915/i915_module_load.c
@@ -37,6 +37,8 @@
 #include "igt_sysfs.h"
 #include "igt_core.h"
 
+IGT_TEST_DESCRIPTION("Tests the i915 module loading.");
+
 static void store_all(int i915)
 {
 	const unsigned int gen = intel_gen(intel_get_drm_devid(i915));
@@ -236,6 +238,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;
 
@@ -252,6 +255,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();
 
@@ -260,6 +264,8 @@ igt_main
 		igt_i915_driver_unload();
 	}
 
+	igt_describe("Verify that i915 driver can be successfully reloaded at least 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