summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarius vlad <marius.c.vlad@intel.com>2016-04-26 17:30:59 +0300
committerMarius Vlad <marius.c.vlad@intel.com>2016-04-26 21:31:37 +0300
commitabc8aa40dec9c875f4eb65d7cdd842940224e9e4 (patch)
tree0039ca1c3f62fe0dd726538fb0f30fcf09cd216f
parent102943d1bab55e789ffc14f84cdc2567e5916c8c (diff)
tests/gem_close_race: Add igt_fixture block for igt_stop_hang_detector.
igt_fork_hang_detector() was called from a igt_fixture block, while its counterpart (igt_stop_hang_detector) was called normally, causing SIGTERM to be sent when running under check target. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
-rw-r--r--tests/gem_close_race.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gem_close_race.c b/tests/gem_close_race.c
index 54e8b891..1c970761 100644
--- a/tests/gem_close_race.c
+++ b/tests/gem_close_race.c
@@ -243,5 +243,6 @@ igt_main
igt_subtest("gem-close-race")
threads(150);
- igt_stop_hang_detector();
+ igt_fixture
+ igt_stop_hang_detector();
}