[Libreoffice-commits] .: sal/cppunittester
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 21 10:59:11 PST 2012
sal/cppunittester/cppunittester.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ed9a361801ccebbcb945199c366663a24d3121bc
Author: Michael Meeks <michael.meeks at suse.com>
Date: Wed Nov 21 18:59:12 2012 +0000
android: fix cppunit testing
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 722fc04..84e0e1e 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;
More information about the Libreoffice-commits
mailing list