[commit: ghc] wip/unexpected-pass-exit-code: Exit with exit code 1 when tests unexpectedly pass (2181b91)

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


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

On branch  : wip/unexpected-pass-exit-code
Link       : http://ghc.haskell.org/trac/ghc/changeset/2181b9135b656e43c374dc2a800a8809ef0b49b1/ghc

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

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

    Exit with exit code 1 when tests unexpectedly pass


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

2181b9135b656e43c374dc2a800a8809ef0b49b1
 testsuite/driver/runtests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index f61ebbc..d86a638 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -440,6 +440,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