diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-28 16:24:44 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-29 02:15:43 +0200 |
commit | 4439abe30f5ff76f99b5e35cf9655910332fe65c (patch) | |
tree | e18fb58fb13d34418a261aedbe509093c03ed62b /sal/cppunittester | |
parent | add algorithm of corner generated information (diff) | |
download | core-4439abe30f5ff76f99b5e35cf9655910332fe65c.tar.gz core-4439abe30f5ff76f99b5e35cf9655910332fe65c.zip |
show the failure message again at the end of the test
Change-Id: Ia0bcbf0943aaa20dc5333dc4d18030ecf88e594e
Diffstat (limited to 'sal/cppunittester')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 0888d1bd7836..484ca4e3a140 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -235,10 +235,7 @@ public: for (size_t i = 0; i < protectors.size(); ++i) result.popProtector(); - if (collector.wasSuccessful()) - CppUnit::CompilerOutputter(&collector, CppUnit::stdCErr()).printSuccess(); - else - CppUnit::CompilerOutputter(&collector, CppUnit::stdCErr()).printStatistics(); + CppUnit::CompilerOutputter(&collector, CppUnit::stdCErr()).write(); return collector.wasSuccessful(); } virtual bool operator()() const SAL_OVERRIDE |