Loading tests/runtests.pl +12 −4 Original line number Diff line number Diff line Loading @@ -679,6 +679,7 @@ open(CMDLOG, ">$CURLLOG") || # The main test-loop # my $failed; my $testnum; my $ok=0; my $total=0; Loading @@ -689,11 +690,14 @@ foreach $testnum (split(" ", $TESTCASES)) { # valid test case number $total++; } if(($error>0) && !$anyway) { if($error>0) { if(!$anyway) { # a test failed, abort print "\n - abort tests\n"; last; } $failed.= "$testnum "; } elsif(!$error) { $ok++; } Loading @@ -715,6 +719,10 @@ stopserver($PIDFILE); if($total) { print "$ok tests out of $total reported OK\n"; if($ok != $total) { print "These test cases failed: $failed\n"; } } else { print "No tests were performed!\n"; Loading Loading
tests/runtests.pl +12 −4 Original line number Diff line number Diff line Loading @@ -679,6 +679,7 @@ open(CMDLOG, ">$CURLLOG") || # The main test-loop # my $failed; my $testnum; my $ok=0; my $total=0; Loading @@ -689,11 +690,14 @@ foreach $testnum (split(" ", $TESTCASES)) { # valid test case number $total++; } if(($error>0) && !$anyway) { if($error>0) { if(!$anyway) { # a test failed, abort print "\n - abort tests\n"; last; } $failed.= "$testnum "; } elsif(!$error) { $ok++; } Loading @@ -715,6 +719,10 @@ stopserver($PIDFILE); if($total) { print "$ok tests out of $total reported OK\n"; if($ok != $total) { print "These test cases failed: $failed\n"; } } else { print "No tests were performed!\n"; Loading