Skip to content
Snippets Groups Projects
Commit 84b82282 authored by Florian Angerer's avatar Florian Angerer
Browse files

Ignore output before first section.

parent 8abab683
No related branches found
No related tags found
No related merge requests found
......@@ -103,11 +103,18 @@ public class LogFileParser {
this.reader = r;
consumeLine();
// consume any leading lines (there might be some output of 'mx')
collectBody(Token.BEGIN_INSTALL_TEST);
Section installTest0 = parseInstallTest();
logFile.addSection(installTest0);
if (!installTest0.isSuccess()) {
return logFile;
}
// again, consume any leading lines
collectBody(Token.BEGIN_INSTALL_TEST);
Section installTest1 = parseInstallTest();
logFile.addSection(installTest1);
if (installTest1.isSuccess()) {
......
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