Commit c33e271d authored by Chris Wilson's avatar Chris Wilson

i915/gem_eio: Skip context creation tests if lacking contexts

If the device doesn't support contexts, we expect them to fail with
-ENODEV before reporting -EIO if wedged.
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Antonio Argenziano's avatarAntonio Argenziano <antonio.argenziano@intel.com>
parent f308fb6e
Pipeline #21429 canceled with stages
......@@ -122,6 +122,8 @@ static void test_context_create(int fd)
{
uint32_t ctx;
gem_require_contexts(fd);
wedge_gpu(fd);
igt_assert_eq(__gem_context_create(fd, &ctx), -EIO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment