[igt-dev] [PATCH i-g-t] tests/prime_busy: Add all subtests description

apoorva1.singh at intel.com apoorva1.singh at intel.com
Wed Nov 18 15:25:26 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/prime_busy.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/prime_busy.c b/tests/prime_busy.c
index aec76393..25153e32 100644
--- a/tests/prime_busy.c
+++ b/tests/prime_busy.c
@@ -236,9 +236,17 @@ igt_main
 			gem_require_mmap_wc(fd);
 
 		for (const struct mode *m = modes; m->name; m++) {
+			igt_describe_f("Tests the polling for prime fences when buffer object "
+			       "is exported into a global dma-buf fd %s it's execution %s",
+			       (m->flags & HANG) ? "before" : m->name,
+			       (m->flags & HANG) ? "in hang allowed environment" : "");
 			igt_subtest_with_dynamic(m->name)
 				test_mode(fd, m->flags);
 
+			igt_describe_f("Tests the polling using non-zero timeout for prime fences when "
+			       "buffer object is exported into a global dma-buf fd %s it's execution %s",
+			       (m->flags & HANG) ? "before" : m->name,
+			       (m->flags & HANG) ? "in hang allowed environment" : "");
 			igt_subtest_with_dynamic_f("%s-wait", m->name)
 				test_mode(fd, m->flags | POLL);
 		}
-- 
2.25.1



More information about the igt-dev mailing list