summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_bad_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ctx_bad_exec.c')
-rw-r--r--tests/gem_ctx_bad_exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c
index 348b2f8f..68b74af2 100644
--- a/tests/gem_ctx_bad_exec.c
+++ b/tests/gem_ctx_bad_exec.c
@@ -106,8 +106,10 @@ int main(int argc, char *argv[])
igt_assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0);
igt_subtest("blt")
igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
+#ifdef I915_EXEC_VEBOX
igt_subtest("vebox")
igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0);
+#endif
igt_exit();
}