diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-02-11 23:50:10 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-02-11 23:50:10 +0100 |
commit | 3514872efeaa2fc0b656ed6949b9e6b7bf67633f (patch) | |
tree | 138e487fb7440c2a00b1136697630e6eb7044f15 /tests/gem_ctx_bad_exec.c | |
parent | a86651fa2476087dd04d03cf86247761595c0aef (diff) |
tests/gem_bad_ctx_exec: Properly wrap in igt_fixtures
Caught by the new nasty assert in igt_skip.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_bad_exec.c')
-rw-r--r-- | tests/gem_ctx_bad_exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c index 3f6f34d0..834b5fe3 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 |