summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-09-26 11:40:15 -0400
committerBen Gamari <ben@smart-cactus.org>2019-09-26 11:45:05 -0400
commitd70f25396ee25b4b7f6254347e622e4b5b6d9a8f (patch)
treee7251bad9aac97a84baab40d86fc1dab49b611b0
parent795986aaf33e2ffc233836b86a92a77366c91db2 (diff)
downloadhaskell-wip/T16087.tar.gz
testsuite: Mark TH tests as fragile in LLVM built external-interpreterwip/T16087
Due to #16087. This drops the previous explicit list of broken tests and rather encompasses the entire set of tests since they all appear to be broken.
-rw-r--r--testsuite/tests/th/all.T13
1 files changed, 4 insertions, 9 deletions
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 2fc79b5484..5aa0e4df26 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -10,16 +10,11 @@ setTestOpts(f)
setTestOpts(req_interp)
# TH should work with -fexternal-interpreter too
if config.have_ext_interp :
- setTestOpts(extra_ways(['ext-interp']))
- setTestOpts(only_ways(['normal','ghci','ext-interp']))
+ setTestOpts(extra_ways(['ext-interp']))
+ setTestOpts(only_ways(['normal','ghci','ext-interp']))
-broken_tests = ["ClosedFam1TH","T10620","T10828","T11721_TH","T11797","T12045TH2","T12478_1","T12646","T13642","T14060","T15502","T15738","T15792","T15845","T16180","T1835","T3920","T4135","T4188","T5037","T5362","T7477","T7910","T8761","T8884","T8953","T9262","T9692","T9738","TH_Lift","TH_RichKinds","TH_RichKinds2","TH_Roles3","TH_TyInstWhere2","TH_implicitParams","TH_recursiveDo","TH_reifyDecl1","TH_reifyExplicitForAllFams","TH_reifyInstances","TH_reifyMkName","TH_repE2","TH_repGuard","TH_repPrim","TH_repPrim2","TH_repUnboxedTuples","TH_spliceE6","T16326_TH"]
-# ext-interp, integer-gmp and llvm is broken see #16087
-def broken_ext_interp(name, opts):
- if name in broken_tests and config.ghc_built_by_llvm:
- expect_broken_for(16087, ['ext-interp'])(name, opts)
-
-setTestOpts(broken_ext_interp)
+ if llvm_build():
+ setTestOpts(fragile_for(16087, ['ext-interp']))
test('TH_mkName', normal, compile, ['-v0'])
test('TH_overloadedlabels', normal, compile, ['-v0'])