diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-06-17 16:04:09 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-06-17 16:04:09 +0200 |
commit | be21fc064b6d9ded5ccae7205204c0d5a03cf9e5 (patch) | |
tree | c2d69d5b4d1704a4a2439f6a3708df6a419dfbf1 /lib/igt_aux.c | |
parent | e63a0681d95a7288faff19a624548f96dbc73341 (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 'lib/igt_aux.c')
-rw-r--r-- | lib/igt_aux.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 27b74aec..e64b29cc 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -403,9 +403,6 @@ void igt_fork_hang_detector(int fd) { struct stat st; - if (igt_only_list_subtests()) - return; - igt_assert(fstat(fd, &st) == 0); signal(SIGRTMAX, sig_abort); @@ -415,9 +412,6 @@ void igt_fork_hang_detector(int fd) void igt_stop_hang_detector(void) { - if (igt_only_list_subtests()) - return; - igt_stop_helper(&hang_detector); } #else |