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