]> granicus.if.org Git - curl/commitdiff
runtests.pl: on test failure, don't show trace log files of other tests
authorYang Tse <yangsita@gmail.com>
Mon, 2 Jan 2012 12:40:12 +0000 (13:40 +0100)
committerYang Tse <yangsita@gmail.com>
Mon, 2 Jan 2012 12:40:12 +0000 (13:40 +0100)
tests/runtests.pl

index 16ee812c659c3960231db7e9da969212088a3c26..76816887c3a5ad605b586b8450b078e20677fdc7 100755 (executable)
@@ -4570,6 +4570,9 @@ sub displaylogs {
         if(($log =~ /^netrc\d+/) && ($log !~ /^netrc$testnum/)) {
             next; # skip netrcNnn of other tests
         }
+        if(($log =~ /^trace\d+/) && ($log !~ /^trace$testnum/)) {
+            next; # skip traceNnn of other tests
+        }
         if(($log =~ /^valgrind\d+/) && ($log !~ /^valgrind$testnum(\..*|)$/)) {
             next; # skip valgrindNnn of other tests
         }