[commit: ghc] wip/junit-fix: exitcode 1 on unexpected passes (0dfc23c)

git at git.haskell.org git at git.haskell.org
Wed Feb 20 15:00:05 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/junit-fix
Link       : http://ghc.haskell.org/trac/ghc/changeset/0dfc23cedb615c2581d4332115ac7e9600036828/ghc

>---------------------------------------------------------------

commit 0dfc23cedb615c2581d4332115ac7e9600036828
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Tue Feb 19 20:23:48 2019 +0000

    exitcode 1 on unexpected passes


>---------------------------------------------------------------

0dfc23cedb615c2581d4332115ac7e9600036828
 testsuite/driver/runtests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 247a5cc..cb00b7c 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -421,6 +421,7 @@ else:
 
 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:
     exitcode = 1
 else:



More information about the ghc-commits mailing list