]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
In case of test failure, try not to show log files of other tests
authorYang Tse <yangsita@gmail.com>
Wed, 30 May 2007 17:15:05 +0000 (17:15 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 30 May 2007 17:15:05 +0000 (17:15 +0000)
tests/runtests.pl

index 76adec16195609095ad32c28385e55e46b3d5c79..98c71d5e12e047ca5d619efa180e980994032015 100755 (executable)
@@ -2542,6 +2542,9 @@ sub displaylogs {
         if(($log =~ /^test\d+\.txt/) && ($log !~ /^test$testnum\.txt/)) {
             next; # skip testNnn.txt of other tests
         }
+        if(($log =~ /^file\d+\.txt/) && ($log !~ /^file$testnum\.txt/)) {
+            next; # skip fileNnn.txt of other tests
+        }
         logmsg "=== Start of file $log\n";
         displaylogcontent("$LOGDIR/$log");
         logmsg "=== End of file $log\n";