[Intel-gfx] [PATCH i-g-t v2 1/8] tests/gem_exec_flush: Remove tests from BAT.

Marius Vlad marius.c.vlad at intel.com
Fri May 27 16:27:46 UTC 2016


Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>
---
 tests/gem_exec_flush.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c
index d08b843..2f271bb 100644
--- a/tests/gem_exec_flush.c
+++ b/tests/gem_exec_flush.c
@@ -532,18 +532,15 @@ igt_main
 		}
 
 		for (const struct batch *b = batches; b->name; b++) {
-			igt_subtest_f("%sbatch-%s-%s-uc",
-				      b == batches && e->exec_id == 0 ? "basic-" : "",
+			igt_subtest_f("batch-%s-%s-uc",
 				      b->name,
 				      e->name)
 				batch(fd, ring, ncpus, timeout, b->mode, 0);
-			igt_subtest_f("%sbatch-%s-%s-wb",
-				      b == batches && e->exec_id == 0 ? "basic-" : "",
+			igt_subtest_f("batch-%s-%s-wb",
 				      b->name,
 				      e->name)
 				batch(fd, ring, ncpus, timeout, b->mode, COHERENT);
-			igt_subtest_f("%sbatch-%s-%s-cmd",
-				      b == batches && e->exec_id == 0 ? "basic-" : "",
+			igt_subtest_f("batch-%s-%s-cmd",
 				      b->name,
 				      e->name)
 				batch(fd, ring, ncpus, timeout, b->mode,
@@ -551,8 +548,7 @@ igt_main
 		}
 
 		for (const struct mode *m = modes; m->name; m++) {
-			igt_subtest_f("%suc-%s-%s",
-				      (m->flags & BASIC && e->exec_id == 0) ? "basic-" : "",
+			igt_subtest_f("uc-%s-%s",
 				      m->name,
 				      e->name)
 				run(fd, ring, ncpus, timeout,
@@ -564,8 +560,7 @@ igt_main
 				run(fd, ring, ncpus, timeout,
 				    UNCACHED | m->flags | INTERRUPTIBLE);
 
-			igt_subtest_f("%swb-%s-%s",
-				      e->exec_id == 0 ? "basic-" : "",
+			igt_subtest_f("wb-%s-%s",
 				      m->name,
 				      e->name)
 				run(fd, ring, ncpus, timeout,
-- 
2.5.0



More information about the Intel-gfx mailing list