summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-02-23 00:41:58 +0100
committerMartin Kosek <mkosek@redhat.com>2013-02-25 13:32:34 +0100
commitcbca3bafe58f7f7061d42c56f403b7ba8442f613 (patch)
tree9ae75de8b1e06c4c539c4f5a9dc85aefc1223417
parentf2f1ed63f5bebaea76039733c1a1aed7d8ff6588 (diff)
downloadfreeipa-cbca3bafe58f7f7061d42c56f403b7ba8442f613.tar.gz
freeipa-cbca3bafe58f7f7061d42c56f403b7ba8442f613.tar.xz
freeipa-cbca3bafe58f7f7061d42c56f403b7ba8442f613.zip
Make sure appropriate exit status is returned in make-test
The make-test script now returns 1 in case that any of the test cases that were run failed.
-rwxr-xr-xmake-test2
1 files changed, 2 insertions, 0 deletions
diff --git a/make-test b/make-test
index 02a17db9c..b39e4dbde 100755
--- a/make-test
+++ b/make-test
@@ -52,5 +52,7 @@ for pver in ran:
print ''
if fail:
print '** FAIL **'
+ sys.exit(1)
else:
print '** pass **'
+ sys.exit(0)