]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: wrap ignored test failures in braces
authorMarc Hoersken <info@marc-hoersken.de>
Wed, 4 Mar 2020 21:36:47 +0000 (22:36 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Wed, 4 Mar 2020 21:36:47 +0000 (22:36 +0100)
tests/runtests.pl

index 7a5f8a504797f14484ee9ed7671f6a7a19b547fc..50c86839019f8d1e861a7261d50256a9c510efcc 100755 (executable)
@@ -5588,7 +5588,13 @@ foreach $testnum (@at) {
     $total++; # number of tests we've run
 
     if($error>0) {
-        $failed.= "$testnum ";
+        if($error==2) {
+            # ignored test failures are wrapped in ()
+            $failed.= "($testnum) ";
+        }
+        else {
+            $failed.= "$testnum ";
+        }
         if($postmortem) {
             # display all files in log/ in a nice way
             displaylogs($testnum);