From 3514872efeaa2fc0b656ed6949b9e6b7bf67633f Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 11 Feb 2014 23:50:10 +0100 Subject: [PATCH] tests/gem_bad_ctx_exec: Properly wrap in igt_fixtures Caught by the new nasty assert in igt_skip. Signed-off-by: Daniel Vetter --- tests/gem_ctx_bad_exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c index 3f6f34d..834b5fe 100644 --- a/tests/gem_ctx_bad_exec.c +++ b/tests/gem_ctx_bad_exec.c @@ -105,7 +105,8 @@ igt_main igt_subtest("blt") igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0); #ifdef I915_EXEC_VEBOX - igt_require(gem_has_vebox(fd)); + igt_fixture + igt_require(gem_has_vebox(fd)); igt_subtest("vebox") igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0); #endif -- 2.7.4