From 5f790db084ca32de79a097c29cb4fa41dcc4cb43 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 11 Sep 2013 11:09:08 +0200 Subject: 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 --- lib/drmtest.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/drmtest.c') diff --git a/lib/drmtest.c b/lib/drmtest.c index f1ee13c5..5c52ddcd 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; -- cgit v1.2.3