From 733be110a2724d9ec26087179bc52d8c3a47267d Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 6 Jul 2018 07:27:26 -0700 Subject: [PATCH] Add negation to return code so tests fail or pass properly. --- compiler/tests/regress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)