CppUnit::TestFactoryRegistry ®istry = CppUnit::TestFactoryRegistry::getRegistry();
runner.addTest(registry.makeTest());
bool wasSuccessful = runner.run("", false);
- return wasSuccessful;
+ return wasSuccessful ? 0 : 1;
}
\ No newline at end of file