diff options
Diffstat (limited to 'tests/gem_exec_whisper.c')
-rw-r--r-- | tests/gem_exec_whisper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem_exec_whisper.c b/tests/gem_exec_whisper.c index b84f1a27..1991fed7 100644 --- a/tests/gem_exec_whisper.c +++ b/tests/gem_exec_whisper.c @@ -368,6 +368,8 @@ igt_main igt_fixture fd = drm_open_driver_master(DRIVER_INTEL); + igt_fork_hang_detector(fd); + for (const struct mode *m = modes; m->name; m++) igt_subtest_f("%s", *m->name ? m->name : "basic") whisper(fd, -1, m->flags); @@ -382,6 +384,8 @@ igt_main whisper(fd, e->exec_id | e->flags, m->flags); } + igt_stop_hang_detector(); + igt_fixture close(fd); } |