loolwsd/test/UnitAdmin.cpp | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 9ced5ffdd58017eee0c72211a748c1820a2b551e Author: Tor Lillqvist <t...@collabora.com> Date: Mon Oct 17 13:40:44 2016 +0300
Log how we are actually exiting the test when calling exitTest() unit-admin fails every time for me at the moment. Make it at least a bit easier to figure out what is going on. diff --git a/loolwsd/test/UnitAdmin.cpp b/loolwsd/test/UnitAdmin.cpp index 24fe35f..6014f76 100644 --- a/loolwsd/test/UnitAdmin.cpp +++ b/loolwsd/test/UnitAdmin.cpp @@ -440,13 +440,17 @@ public: Log::info("UnitAdmin:: Finished test #" + std::to_string(_testCounter)); if (res != TestResult::TEST_OK) { + Log::info("Exiting with " + (res == TestResult::TEST_FAILED ? "FAIL" : (res == TestResult::TEST_TIMED_OUT) ? "TIMEOUT" : "??? (" + std::to_string(res) + ")")); exitTest(res); return; } // End this when all tests are finished if (_tests.size() == _testCounter) + { + Log::info("Exiting with OK"); exitTest(TestResult::TEST_OK); + } _isTestRunning = false; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits