tests/gem_close_race: Add igt_fixture block for igt_stop_hang_detector.
PATCH 1/1 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.
--- tests/gem_close_race.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tests/gem_close_race.c +2 -1
@@ -243,5 +243,6 @@ igt_main igt_subtest("gem-close-race")threads (150 ); -igt_stop_hang_detector (); +igt_fixture +igt_stop_hang_detector (); }
Signature · 6 lines
2.8.0.rc3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Marius Vlad
igt_fork_hang_detector()was called from aigt_fixtureblock, 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 <[email protected]>
Quoted 23 lines
--- tests/gem_close_race.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/gem_close_race.c +2
-1@@ -243,5 +243,6 @@ igt_main igt_subtest("gem-close-race")threads (150 ); -igt_stop_hang_detector (); +igt_fixture +igt_stop_hang_detector (); }Signature · 6 lines
2.8.0.rc3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines · Marius Vlad
igt_fork_hang_detector()was called from aigt_fixtureblock, while its counterpart (igt_stop_hang_detector) was called normally, causing SIGTERM to be sent when running under check target.
Probably. Or make igt_stop_hang_detector() more sensible after an earlier failure. Or both!
Quoted 1 line
Signed-off-by Marius Vlad <[email protected]>
From the point of view of balance, go for it!
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx