1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

In case of test failure, try not to show log files of other tests

This commit is contained in:
Yang Tse 2007-05-30 17:15:05 +00:00
parent 670273968c
commit 9583b51d80

View File

@ -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";