Commit 9c3361a0 authored by unknown's avatar unknown

Return immediately from 'check-testcase' and 'check_warnings' if no

check processes has been started
parent c570d3c9
......@@ -2588,6 +2588,9 @@ sub check_testcase($$)
}
}
# Return immediately if no check proceess was started
return 0 unless ( keys %started );
while (1){
my $result;
my $proc= My::SafeProcess->wait_any();
......@@ -3024,6 +3027,9 @@ sub check_warnings ($) {
}
}
# Return immediately if no check proceess was started
return 0 unless ( keys %started );
while (1){
my $result= 0;
my $proc= My::SafeProcess->wait_any();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment