diff options
Diffstat (limited to 'examples/cppunittest/CppUnitTestMain.cpp')
-rw-r--r-- | examples/cppunittest/CppUnitTestMain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cppunittest/CppUnitTestMain.cpp b/examples/cppunittest/CppUnitTestMain.cpp index baa8b39..4b62612 100644 --- a/examples/cppunittest/CppUnitTestMain.cpp +++ b/examples/cppunittest/CppUnitTestMain.cpp @@ -8,8 +8,8 @@ main( int argc, char* argv[] ) CppUnit::TextTestRunner runner; runner.addTest( CppUnitTest::suite() ); - runner.run(); + bool wasSucessful = runner.run(); - return 0; + return wasSucessful ? 0 : 1; } |