Do not stop repeating a test even if some executions are skipped

This commit is contained in:
Elena Stepanova 2017-08-18 13:35:40 +03:00
parent bcc1ba9218
commit d947d1bf6e

View File

@ -738,8 +738,7 @@ sub run_test_server ($$$) {
# Repeat test $opt_repeat number of times
my $repeat= $result->{repeat} || 1;
# Don't repeat if test was skipped
if ($repeat < $opt_repeat && $result->{'result'} ne 'MTR_RES_SKIPPED')
if ($repeat < $opt_repeat)
{
$result->{retries}= 0;
$result->{rep_failures}++ if $result->{failures};