diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-11 23:02:13 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-11 23:03:09 +0200 |
commit | 27e339dd466489c64a597d9054ce12793405c24d (patch) | |
tree | c472343ac20afe3800d48feedb2e7db6587fa3ca | |
parent | e38d2e5a5095cfb5ca8e046ff6ae710ad5af1cbf (diff) | |
download | curl-27e339dd466489c64a597d9054ce12793405c24d.tar.gz |
runtests: split out ignored tests
Report ignore tests separately from the actual fails. And add temporary
debug output to help track the #7818 issue.
Ref #7818
-rwxr-xr-x | tests/runtests.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 9a1c169b6..d0d2527bb 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -6029,6 +6029,7 @@ if(azure_check_environment()) { # my $failed; +my $failedign; my $testnum; my $ok=0; my $ign=0; @@ -6065,7 +6066,7 @@ foreach $testnum (@at) { if($error>0) { if($error==2) { # ignored test failures are wrapped in () - $failed.= "($testnum) "; + $failedign .= "($testnum) "; } else { $failed.= "$testnum "; @@ -6155,7 +6156,12 @@ if($total) { $ok/$total*100); if($ok != $total) { - logmsg "\nTESTFAIL: These test cases failed: $failed\n\n"; + if($failed) { + logmsg "\nTESTFAIL: These test cases failed: $failed\n\n"; + } + if($failedign) { + logmsg "\nTESTDONE: Ignored failed tests: $failed\n\n"; + } } } else { @@ -6170,5 +6176,6 @@ else { } if(($total && (($ok+$ign) != $total)) || !$total || $unexpected) { + logmsg "DEBUG: total $total ok $ok ign $ign unexpected $unexpected"; exit 1; } |