diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-11-21 18:59:12 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-21 18:59:39 +0000 |
commit | ed9a361801ccebbcb945199c366663a24d3121bc (patch) | |
tree | 44f4b6b89ac6cc3902025a279f08a7eace00b689 /sal/cppunittester | |
parent | Use correct variable in the iOS and Android cases (diff) | |
download | core-ed9a361801ccebbcb945199c366663a24d3121bc.tar.gz core-ed9a361801ccebbcb945199c366663a24d3121bc.zip |
android: fix cppunit testing
Diffstat (limited to 'sal/cppunittester')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 3 |
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; |