diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-12-23 02:24:17 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-12-23 13:56:06 -0500 |
commit | 1c229def93ad4d44e5d24644be94ea7faf4946f1 (patch) | |
tree | 9d5c916d9e3d51bc6d39f802876345269382637d /testsuite | |
parent | a0b9d42be3ae65860d5187918891344a611ca2ac (diff) | |
download | haskell-wip/llvm-th-tests-broken.tar.gz |
testsuite: Mark th tests as broken in ext-interp way in LLVM build flavourswip/llvm-th-tests-broken
This is due to the failures documented in #16087. The condition here could be
improved as it matches on `BUILD_FLAVOUR` instead of looking at the compiler
flags. However, it's better than nothing and I hope we will be able to fix these
issues before long.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/mk/test.mk | 7 | ||||
-rw-r--r-- | testsuite/tests/th/all.T | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 1bac4fd091..cead469765 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -240,6 +240,13 @@ else RUNTEST_OPTS += -e config.local=True endif +# Some tests in ext-interp fail when ghc-stage2 is built using LLVM. See #16087 +ifeq "$(findstring llvm,$(BUILD_FLAVOUR))" "" +RUNTEST_OPTS += -e config.ghc_built_by_llvm=False +else +RUNTEST_OPTS += -e config.ghc_built_by_llvm=True +endif + RUNTEST_OPTS += -e 'config.integer_backend="$(INTEGER_LIBRARY)"' RUNTEST_OPTS += \ diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T index 96c7e1e726..1bea110399 100644 --- a/testsuite/tests/th/all.T +++ b/testsuite/tests/th/all.T @@ -12,6 +12,8 @@ setTestOpts(req_interp) if config.have_ext_interp : setTestOpts(extra_ways(['ext-interp'])) setTestOpts(only_ways(['normal','ghci','ext-interp'])) + if config.ghc_built_by_llvm: + setTestOpts(expect_broken_for(16087, ['ext-interp'])) test('TH_mkName', normal, compile, ['-v0']) test('TH_overloadedlabels', normal, compile, ['-v0']) |