[igt-dev] [PATCH i-g-t] i915/gem_pread_after_blit: Add subtests description

apoorva1.singh at intel.com apoorva1.singh at intel.com
Sun Dec 20 10:49:01 UTC 2020


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

Add description for all subtests

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

diff --git a/tests/i915/gem_pread_after_blit.c b/tests/i915/gem_pread_after_blit.c
index f5eba0d5..584a02db 100644
--- a/tests/i915/gem_pread_after_blit.c
+++ b/tests/i915/gem_pread_after_blit.c
@@ -229,14 +229,20 @@ igt_main
 	}
 
 	for (t = tests; t->name; t++) {
+		igt_describe_f("Verify the correctness of pread when reading freshly-written bo "
+		       "with %s caching mode", t->name);
 		igt_subtest_f("%s-normal", t->name)
 			do_test(bops, t->cache, src, start, dst, 1, no_hang);
 
+		igt_describe_f("Under interruptible conditions, verify the correctness of pread "
+		       "when reading freshly-written bo with %s caching mode", t->name);
 		igt_fork_signal_helper();
 		igt_subtest_f("%s-interruptible", t->name)
 			do_test(bops, t->cache, src, start, dst, 100, no_hang);
 		igt_stop_signal_helper();
 
+		igt_describe_f("Verify the correctness of pread when reading freshly-written bo "
+		       "with %s caching mode, by introducing engine hang between write and read", t->name);
 		igt_subtest_f("%s-hang", t->name)
 			do_test(bops, t->cache, src, start, dst, 1, bcs_hang);
 	}
-- 
2.25.1



More information about the igt-dev mailing list