diff options
author | Yang Tse <yangsita@gmail.com> | 2007-05-30 17:15:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-05-30 17:15:05 +0000 |
commit | 9583b51d80b36b5d221898cbebc02e84bac22384 (patch) | |
tree | 78e7a89666cccb0c7d7b6c6f392bff4fc7337e5f | |
parent | 670273968ce2a8e648c61829d3304de23d91349d (diff) |
In case of test failure, try not to show log files of other tests
-rwxr-xr-x | tests/runtests.pl | 3 |
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"; |