diff options
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']) |