diff --git a/tests/runtests.pl b/tests/runtests.pl index 4b5b5b0826..e4b7c10053 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2346,6 +2346,10 @@ if(@ARGV && $ARGV[-1] eq '$TFLAGS') { push(@ARGV, split(' ', $ENV{'TFLAGS'})) if defined($ENV{'TFLAGS'}); } +if($ENV{"CURL_TEST_MIN"}) { + $mintotal = $ENV{"CURL_TEST_MIN"}; +} + $args = join(' ', @ARGV); $valgrind = checktestcmd("valgrind"); @@ -2747,10 +2751,6 @@ if(!$jobs) { setlogfunc(\&logmsg); } -if(!$mintotal && $ENV{"CURL_TEST_MIN"}) { - $mintotal = $ENV{"CURL_TEST_MIN"}; -} - ####################################################################### # Output curl version and host info being tested #