aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-02 13:40:12 +0100
committerYang Tse <yangsita@gmail.com>2012-01-02 13:40:12 +0100
commit63e2718f8d0f52a4a53db0fdd3822dde12d2ad42 (patch)
treeb5fd63d1be2918ac062a7411b626d17c71fdebc4
parent7f472618deb557fafa5c757682c1530790a3cace (diff)
runtests.pl: on test failure, don't show trace 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 16ee812c6..76816887c 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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
}