summaryrefslogtreecommitdiff
path: root/tests/gem_exec_suspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_exec_suspend.c')
-rw-r--r--tests/gem_exec_suspend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem_exec_suspend.c b/tests/gem_exec_suspend.c
index 6babed8c..687bbeef 100644
--- a/tests/gem_exec_suspend.c
+++ b/tests/gem_exec_suspend.c
@@ -241,6 +241,8 @@ igt_main
igt_fixture
fd = drm_open_driver_master(DRIVER_INTEL);
+ igt_fork_hang_detector(fd);
+
igt_subtest("basic-S3")
run_test(fd, -1, SUSPEND);
igt_subtest("basic-S4")
@@ -257,6 +259,8 @@ igt_main
}
}
+ igt_stop_hang_detector();
+
igt_fixture
close(fd);
}