From d7a0b61450797a3d6644c65aebf75c2a90da1a15 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Fri, 23 Jun 2017 12:31:40 +0100 Subject: igt: Remove default from the engine list Default is not an engine but an ABI alias for RCS. Remove it from the engine list to eliminate redundant subtests and test passes. Signed-off-by: Tvrtko Ursulin Acked-by: Daniel Vetter --- tests/gem_ctx_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/gem_ctx_switch.c') diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c index b6ea71cf..c559e2cd 100644 --- a/tests/gem_ctx_switch.c +++ b/tests/gem_ctx_switch.c @@ -163,9 +163,9 @@ igt_main } for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("%s%s", e->exec_id == 0 ? "basic-" : "", e->name) + igt_subtest_f("%s%s", igt_is_basic(e) ? "basic-" : "", e->name) single(fd, light, e, 0, 1, 5); - igt_subtest_f("%s%s-heavy", e->exec_id == 0 ? "basic-" : "", e->name) + igt_subtest_f("%s%s-heavy", igt_is_basic(e) ? "basic-" : "", e->name) single(fd, heavy, e, 0, 1, 5); igt_subtest_f("%s-interruptible", e->name) single(fd, light, e, INTERRUPTIBLE, 1, 150); -- cgit v1.2.3