summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-07-16 13:56:37 -0400
committerBen Gamari <ben@smart-cactus.org>2020-07-16 13:56:37 -0400
commitdd6c96c197fcfad73999b964af32aa2be165d3ec (patch)
tree3a8e1d27cd6bc64cfa9670f342ec4436b9734874
parentc0979cc53442b3a6202acab9cf164f0a4beea0b7 (diff)
downloadhaskell-wip/T18463.tar.gz
testsuite: Mark ghci tests as fragile under unreg compilerwip/T18463
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, [''])