diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-02-19 20:23:48 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-02-23 21:50:02 -0500 |
commit | a990312e3d36e0e1b18bb966ac3297aa0aae142a (patch) | |
tree | 926dc47cd84125fb03c47994fdeafd55d0c5de34 /testsuite/driver/testlib.py | |
parent | ee284b854e514685036dc21a1ee61241c76d14b5 (diff) | |
download | haskell-a990312e3d36e0e1b18bb966ac3297aa0aae142a.tar.gz |
Exit with exit code 1 when tests unexpectedly pass
This was causing gitlab to not report from builds as failing. It also
highlighted a problem with the LLVM tests where some of the external
interpreter tests are failing.
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r-- | testsuite/driver/testlib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index fb7888c4d3..11c828c432 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -2118,6 +2118,7 @@ def summary(t, file, short=False, color=False): if color: if len(t.unexpected_failures) > 0 or \ len(t.unexpected_stat_failures) > 0 or \ + len(t.unexpected_passes) > 0 or \ len(t.framework_failures) > 0: colorize = str_fail else: |