From ed9a361801ccebbcb945199c366663a24d3121bc Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 21 Nov 2012 18:59:12 +0000 Subject: android: fix cppunit testing --- sal/cppunittester/cppunittester.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sal') diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 722fc04c4261..84e0e1e7ed98 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -120,6 +120,7 @@ public: } bool run() const { + bool bSuccess = false; #ifdef DISABLE_DYNLOADING // For iOS cppunit plugins aren't really "plugins" (shared // libraries), but just static archives. In the real main @@ -127,9 +128,9 @@ public: // the SAL_IMPLEMENT_MAIN() below expands to, we specifically // call the initialize methods of the CppUnitTestPlugIns that // we statically link to the app executable. + bSuccess = true; #else CppUnit::PlugInManager manager; - bool bSuccess = false; try { manager.load(testlib, args); bSuccess = true; -- cgit