gem_ctx_bad_exec: skip vebox when appropriate

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky 2013-10-16 22:01:34 -07:00
parent befabe241a
commit a12d4a7135

View File

@ -106,6 +106,7 @@ int main(int argc, char *argv[])
igt_subtest("blt") igt_subtest("blt")
igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0); igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
#ifdef I915_EXEC_VEBOX #ifdef I915_EXEC_VEBOX
igt_require(gem_has_vebox(fd));
igt_subtest("vebox") igt_subtest("vebox")
igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0); igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0);
#endif #endif