summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-05-30 17:15:05 +0000
committerYang Tse <yangsita@gmail.com>2007-05-30 17:15:05 +0000
commit9583b51d80b36b5d221898cbebc02e84bac22384 (patch)
tree78e7a89666cccb0c7d7b6c6f392bff4fc7337e5f
parent670273968ce2a8e648c61829d3304de23d91349d (diff)
downloadgnurl-9583b51d80b36b5d221898cbebc02e84bac22384.tar.gz
gnurl-9583b51d80b36b5d221898cbebc02e84bac22384.tar.bz2
gnurl-9583b51d80b36b5d221898cbebc02e84bac22384.zip
In case of test failure, try not to show log files of other tests
-rwxr-xr-xtests/runtests.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 76adec161..98c71d5e1 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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";