summaryrefslogtreecommitdiffstats
path: root/contrib/serf/build/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/serf/build/check.py')
-rwxr-xr-xcontrib/serf/build/check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/serf/build/check.py b/contrib/serf/build/check.py
index 7dfcda9..f440e45 100755
--- a/contrib/serf/build/check.py
+++ b/contrib/serf/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)
OpenPOWER on IntegriCloud