[commit: ghc] wip/fix-integer-simple-ci: testsuite: Fix broken_without_gmp (1b2b6e5)
git at git.haskell.org
git at git.haskell.org
Thu Dec 27 17:00:27 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/fix-integer-simple-ci
Link : http://ghc.haskell.org/trac/ghc/changeset/1b2b6e52a30f57d9f27c74093612cf52795a2c6c/ghc
>---------------------------------------------------------------
commit 1b2b6e52a30f57d9f27c74093612cf52795a2c6c
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Dec 23 06:34:00 2018 +0000
testsuite: Fix broken_without_gmp
The lack of types made the previous failure silent, sadly. Improves
situation of #16043.
>---------------------------------------------------------------
1b2b6e52a30f57d9f27c74093612cf52795a2c6c
testsuite/driver/testlib.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 1c6668d..f26f9e0 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -213,11 +213,6 @@ def record_broken(name, opts, bug):
if not me in brokens:
brokens.append(me)
-def broken_without_gmp(name, opts):
- # Many tests sadly break with integer-simple due to GHCi's ignorance of it.
- when(config.integer_backend != "integer-gmp",
- expect_broken(16043))
-
def _expect_pass(way):
# Helper function. Not intended for use in .T files.
opts = getTestOpts()
@@ -465,6 +460,10 @@ def have_gdb( ):
def have_readelf( ):
return config.have_readelf
+# Many tests sadly break with integer-simple due to GHCi's ignorance of it.
+broken_without_gmp = when(config.integer_backend != "integer-gmp",
+ expect_broken(16043))
+
# ---
def high_memory_usage(name, opts):
More information about the ghc-commits
mailing list