summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-11-21 18:59:12 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-11-21 18:59:39 +0000
commited9a361801ccebbcb945199c366663a24d3121bc (patch)
tree44f4b6b89ac6cc3902025a279f08a7eace00b689 /sal
parent2586871390dc5a03e4cf5f4f6f5a2af182b89db0 (diff)
android: fix cppunit testing
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx3
1 files changed, 2 insertions, 1 deletions
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;