about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--002test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/002test.cc b/002test.cc
index 0b445526..fa6c50a2 100644
--- a/002test.cc
+++ b/002test.cc
@@ -58,10 +58,12 @@ if (Run_tests) {
   }
   // End Tests
   cerr << '\n';
-  if (Num_failures > 0)
+  if (Num_failures > 0) {
     cerr << Num_failures << " failure"
          << (Num_failures > 1 ? "s" : "")
          << '\n';
+    return 1;
+  }
   return 0;
 }