[igt-dev] [PATCH i-g-t 1/2] i915/gem_flink_basic: Add subtests description for test case

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Fri Mar 11 04:22:09 UTC 2022


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

Add description for all subtests

v2: Modified a description to be more clear

v3: Rebase

v4: Modified descriptions

Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Arjun Melkaveri <arjun.melkaveri at intel.com>
---
 tests/i915/gem_flink_basic.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/i915/gem_flink_basic.c b/tests/i915/gem_flink_basic.c
index 48b0b8b1..3d83e9aa 100644
--- a/tests/i915/gem_flink_basic.c
+++ b/tests/i915/gem_flink_basic.c
@@ -161,16 +161,26 @@ igt_main
 	igt_fixture
 		fd = drm_open_driver(DRIVER_INTEL);
 
+	igt_describe("Check if gem object can be exported to global namespace"
+		     " and then opened");
 	igt_subtest("basic")
 		test_flink(fd);
+
+	igt_describe("Tests that multiple flinks for the same gem object share"
+		     " the same name");
 	igt_subtest("double-flink")
 		test_double_flink(fd);
+
+	igt_describe("Verify that GEM_FLINK ioctl with invalid gem object fails.");
 	igt_subtest("bad-flink")
 		test_bad_flink(fd);
+
+	igt_describe("Verify that GEM_OPEN ioctl with invalid flink name fails.");
 	igt_subtest("bad-open")
 		test_bad_open(fd);
 
 	/* Flink lifetime is limited to that of the gem object it points to */
+	igt_describe("Tests flink lifetime by referencing from multiple descriptors.");
 	igt_subtest("flink-lifetime")
 		test_flink_lifetime(fd);
 }
-- 
2.25.1



More information about the igt-dev mailing list