summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2019-02-20 20:52:29 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2019-02-20 21:16:16 +0000
commit69225787abf93c75b9313ac8da2a82bf448fa322 (patch)
tree162fac82a90a1569f0aaee788f3bbf46a0c7d966
parent1232d544904a902d77623ca933bebee1273caaed (diff)
downloadhaskell-69225787abf93c75b9313ac8da2a82bf448fa322.tar.gz
Fix colorise header as well
-rw-r--r--testsuite/driver/testlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index e800772cd1..eb9f2a86d4 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -2117,6 +2117,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: