In case of test failure, try not to show log files of other tests
This commit is contained in:
parent
670273968c
commit
9583b51d80
@ -2542,6 +2542,9 @@ sub displaylogs {
|
|||||||
if(($log =~ /^test\d+\.txt/) && ($log !~ /^test$testnum\.txt/)) {
|
if(($log =~ /^test\d+\.txt/) && ($log !~ /^test$testnum\.txt/)) {
|
||||||
next; # skip testNnn.txt of other tests
|
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";
|
logmsg "=== Start of file $log\n";
|
||||||
displaylogcontent("$LOGDIR/$log");
|
displaylogcontent("$LOGDIR/$log");
|
||||||
logmsg "=== End of file $log\n";
|
logmsg "=== End of file $log\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user