diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/perf_pmu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c index 21292bf3..c9881e59 100644 --- a/tests/perf_pmu.c +++ b/tests/perf_pmu.c @@ -1812,8 +1812,13 @@ igt_main accuracy(fd, e, pct[i], 10); } - igt_subtest_f("busy-hang-%s", e->name) + igt_subtest_f("busy-hang-%s", e->name) { + igt_hang_t hang = igt_allow_hang(fd, 0, 0); + single(fd, e, TEST_BUSY | FLAG_HANG); + + igt_disallow_hang(fd, hang); + } } /** |