From: Daniel Vetter Date: Wed, 11 Sep 2013 09:09:08 +0000 (+0200) Subject: lib/drmtest: Fix igt_stop_signal_helper for subtest listing X-Git-Tag: intel-gpu-tools-1.4~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f790db084ca32de79a097c29cb4fa41dcc4cb43;p=profile%2Fextras%2Fintel-gpu-tools.git lib/drmtest: Fix igt_stop_signal_helper for subtest listing We need to bail out early for otherwise we'll hit the !signal_helper->running assert. Signed-off-by: Daniel Vetter --- diff --git a/lib/drmtest.c b/lib/drmtest.c index f1ee13c..5c52ddc 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -622,6 +622,9 @@ void igt_fork_signal_helper(void) void igt_stop_signal_helper(void) { + if (igt_only_list_subtests()) + return; + igt_stop_helper(&signal_helper); sig_stat = 0;