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 <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-09-11 11:09:08 +02:00
parent b3a61c8028
commit 5f790db084

View File

@ -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;