[commit: ghc] wip/unexpected-pass-exit-code: Fix colorise header as well (6922578)
git at git.haskell.org
git at git.haskell.org
Thu Feb 21 15:12:57 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/unexpected-pass-exit-code
Link : http://ghc.haskell.org/trac/ghc/changeset/69225787abf93c75b9313ac8da2a82bf448fa322/ghc
>---------------------------------------------------------------
commit 69225787abf93c75b9313ac8da2a82bf448fa322
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date: Wed Feb 20 20:52:29 2019 +0000
Fix colorise header as well
>---------------------------------------------------------------
69225787abf93c75b9313ac8da2a82bf448fa322
testsuite/driver/testlib.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index e800772..eb9f2a8 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:
More information about the ghc-commits
mailing list