aboutsummaryrefslogtreecommitdiffstats
path: root/build/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/check.py')
-rwxr-xr-xbuild/check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/check.py b/build/check.py
index 7dfcda9a499d..f440e45c8405 100755
--- a/build/check.py
+++ b/build/check.py
@@ -48,9 +48,11 @@ if __name__ == '__main__':
subprocess.check_call([SERF_RESPONSE_EXE, case])
except subprocess.CalledProcessError:
print "ERROR: test case %s failed" % (case)
+ sys.exit(1)
print "== Running the unit tests =="
try:
subprocess.check_call(TEST_ALL_EXE)
except subprocess.CalledProcessError:
print "ERROR: test(s) failed in test_all"
+ sys.exit(1)