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.
This commit is contained in:
Tomas Babej authored and Martin Kosek committed 2013-02-25 13:32:34 +01:00
1 parent f2f1ed63f5
commit cbca3bafe5
1 file changed
+2
+2
View File
@@ -52,5 +52,7 @@ for pver in ran:
print ''
if fail:
print '** FAIL **'
sys.exit(1)
else:
print '** pass **'
sys.exit(0)