fixed CountedTest compilation problem attempting to access a private variable. Also...
[zxing.git] / cpp / core / tests / src / TestRunner.cpp
index ba3ba46..4aba6e7 100644 (file)
@@ -27,5 +27,5 @@ int main(int argc, char **argv)
   CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
   runner.addTest(registry.makeTest());
   bool wasSuccessful = runner.run("", false);
-  return wasSuccessful;
+  return wasSuccessful ? 0 : 1;
 }
\ No newline at end of file