Skip to content
Snippets Groups Projects
Commit 9583b51d authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 67027396
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment