diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-03-14 12:19:09 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-03-25 10:04:22 +0000 |
commit | a0fdb626e5779e0f393fb9d031bc44d5f48de263 (patch) | |
tree | 80b7137de3f2075716a1d4180a2a14b51cfe47ea /tests/auto | |
parent | 30ba24347cbb1af8f8ad1949297702ccc83aa410 (diff) | |
download | qtxmlpatterns-a0fdb626e5779e0f393fb9d031bc44d5f48de263.tar.gz |
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: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/xmlpatternssdk/Worker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/xmlpatternssdk/Worker.cpp b/tests/auto/xmlpatternssdk/Worker.cpp index d17696e..883599d 100644 --- a/tests/auto/xmlpatternssdk/Worker.cpp +++ b/tests/auto/xmlpatternssdk/Worker.cpp @@ -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; } |