Commit a0fdb626 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Always summarize test results, even with unchanged baseline


I currently have many failures (I assume through bad testsuite set up),
they go by silently on the second run, instead now there will always
be output:
PASS   : tst_XmlPatternsSchemaTS::runTestSuite()
SUMMARY:
        Total:                39193
        Failures:             39193
        Passes:               0
        Not tested:           0
        Pass percentage(%):   0
        Unexpected failures:  0
        Unexpected passes:    0
Result was identical to the baseline, baseline was not updated.
PASS   : tst_XmlPatternsSchemaTS::checkTestSuiteResult()

Change-Id: I4e11832ea711b8cb9feff088a09434122968d080
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@theqtcompany.com>
Showing with 2 additions and 0 deletions
......@@ -209,6 +209,8 @@ void Worker::threadFinished()
else if(m_unexpectedPasses.isEmpty() && baselineCount == resultCount)
{
err << "Result was identical to the baseline, baseline was not updated.\n";
err.flush();
QTextStream(stderr) << out;
m_eventLoop.exit(ExitCode::Success);
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment