runtests.pl: on test failure, don't show trace log files of other tests

This commit is contained in:
Yang Tse 2012-01-02 13:40:12 +01:00
parent 7f472618de
commit 63e2718f8d
1 changed files with 3 additions and 0 deletions

View File

@ -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
}