From 9583b51d80b36b5d221898cbebc02e84bac22384 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 30 May 2007 17:15:05 +0000 Subject: [PATCH] In case of test failure, try not to show log files of other tests --- tests/runtests.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index 76adec1..98c71d5 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"; -- 2.7.4