summaryrefslogtreecommitdiff
path: root/tests/gem_concurrent_all.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-17 16:04:09 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-17 16:04:09 +0200
commitbe21fc064b6d9ded5ccae7205204c0d5a03cf9e5 (patch)
treec2d69d5b4d1704a4a2439f6a3708df6a419dfbf1 /tests/gem_concurrent_all.c
parente63a0681d95a7288faff19a624548f96dbc73341 (diff)
tests: Push igt_fork/stop_hang_detector into fixtures
It access hardware, hence why the simple igt_only_list_subtests() check from igt_fork/stop_signal_helper() isn't enough. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/gem_concurrent_all.c')
-rw-r--r--tests/gem_concurrent_all.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/gem_concurrent_all.c b/tests/gem_concurrent_all.c
index 019628ed..9b19455b 100644
--- a/tests/gem_concurrent_all.c
+++ b/tests/gem_concurrent_all.c
@@ -1432,7 +1432,8 @@ run_mode(const char *prefix,
continue;
if (!*h->suffix)
- igt_fork_hang_detector(fd);
+ igt_fixture
+ igt_fork_hang_detector(fd);
for (p = all ? pipelines : pskip; p->prefix; p++) {
igt_fixture p->require();
@@ -1563,7 +1564,8 @@ run_mode(const char *prefix,
}
if (!*h->suffix)
- igt_stop_hang_detector();
+ igt_fixture
+ igt_stop_hang_detector();
}
igt_fixture