[Intel-gfx] [PATCH 3/7] tests/gem_bad_ctx_exec: Properly wrap in igt_fixtures
Daniel Vetter
daniel.vetter at ffwll.ch
Wed Feb 12 00:07:27 CET 2014
Caught by the new nasty assert in igt_skip.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
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 3f6f34d09805..834b5fe30720 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
--
1.8.5.2
More information about the Intel-gfx
mailing list