summaryrefslogtreecommitdiff
path: root/tests/i915/gem_exec_fence.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-12-11 17:51:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-12-11 17:52:50 +0000
commit0e209dc3cd7561a57ec45be74b8b299eaf391950 (patch)
treeaa5247f9c3c615e7b456b518dd5ae6d83cfb9fea /tests/i915/gem_exec_fence.c
parent3e63914556947974bd2d1cf92dda5b83e36848e4 (diff)
i915/gem_exec_fence: Skip timeline tests if not supported
Report we cannot run the timeline tests (SKIP) if the kernel doesn't support the API. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_exec_fence.c')
-rw-r--r--tests/i915/gem_exec_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index ba454fcd..af08c385 100644
--- a/tests/i915/gem_exec_fence.c
+++ b/tests/i915/gem_exec_fence.c
@@ -3183,7 +3183,7 @@ igt_main
igt_subtest_group { /* syncobj timeline */
igt_fixture {
igt_require(exec_has_timeline_fences(i915));
- igt_assert(has_syncobj_timeline(i915));
+ igt_require(has_syncobj_timeline(i915));
igt_fork_hang_detector(i915);
}