diff --git a/compiler/tests/regress.py b/compiler/tests/regress.py old mode 100644 new mode 100755 index 1c07246f..abc1af4b --- a/compiler/tests/regress.py +++ b/compiler/tests/regress.py @@ -27,4 +27,5 @@ modules = map(__import__, moduleNames) suite = unittest.TestSuite() load = unittest.defaultTestLoader.loadTestsFromModule suite.addTests(map(load, modules)) -unittest.TextTestRunner(verbosity=2).run(suite) +ret = unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful() +sys.exit(ret)