summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-07-16 13:56:37 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-18 07:26:47 -0400
commitc26e81d116a653b5259aeb290fb1e697efe3382a (patch)
treea08a5d5f6008c368b9fb257854c1568bd2454d99
parent8d59aed6e9f494d6eae41c5ba32cde23cecaeb14 (diff)
downloadhaskell-c26e81d116a653b5259aeb290fb1e697efe3382a.tar.gz
testsuite: Mark ghci tests as fragile under unreg compiler
In particular I have seen T16012 fail repeatedly under the unregisterised compiler.
-rw-r--r--testsuite/tests/ghci/should_run/all.T4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/should_run/all.T b/testsuite/tests/ghci/should_run/all.T
index 1677763591..fa4c78cdce 100644
--- a/testsuite/tests/ghci/should_run/all.T
+++ b/testsuite/tests/ghci/should_run/all.T
@@ -1,7 +1,7 @@
# We only want to run these tests with GHCi
-def just_ghci( name, opts ):
- opts.only_ways = ['ghci']
+# N.B. ghci is slightly broken under unregisterised compilers.
+just_ghci = [ only_ways(['ghci']), when(unregisterised(), fragile(18463)) ]
test('ghcirun001', just_ghci, compile_and_run, [''])
test('ghcirun002', just_ghci, compile_and_run, [''])