From 7fb6d934fa586249676d7fb2c2a59d19ac797727 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 19 Jul 2009 23:08:48 +0000 Subject: [PATCH] * Report failures in exit code in caca-test --- tests/caca-test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/caca-test.cpp b/tests/caca-test.cpp index 0bd5c0c..be1cd7f 100644 --- a/tests/caca-test.cpp +++ b/tests/caca-test.cpp @@ -22,8 +22,6 @@ int main(int argc, char *argv[]) CppUnit::TextTestRunner runner; runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest()); - runner.run(); - - return 0; + return !runner.run(); }