From 077f3f20ec7adc18416aa9d8729a6b601148d3c5 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Thu, 5 Jul 2018 16:27:47 -0700 Subject: [PATCH] Add return code for regression test --- compiler/tests/regress.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 compiler/tests/regress.py 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)