diff --git a/tests/run_console_tests.py b/tests/run_console_tests.py index 926998ff65..13308706b8 100755 --- a/tests/run_console_tests.py +++ b/tests/run_console_tests.py @@ -39,6 +39,7 @@ print "Tests skipped: %s" % c.skipped print "Tests with errors: %s" % c.errors if (len(c.failures)+len(c.errors)+len(c.skipped)) != 0: - raise Exception("Build failed") - + sys.exit(1) +else: + sys.exit(0)