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-24 00:24:04 -0500 |
commit | 5499f12f32a8deaa2a30c13359473b1178236341 (patch) | |
tree | 84cedd79df924829c6bb60b4e7419c04e5de0781 /testsuite/mk/test.mk | |
parent | bd8a6bde2ee73e599800137b9428a401bc105985 (diff) | |
download | haskell-5499f12f32a8deaa2a30c13359473b1178236341.tar.gz |
testsuite: Mark th tests as broken in ext-interp way in LLVM build flavours
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/mk/test.mk')
-rw-r--r-- | testsuite/mk/test.mk | 7 |
1 files changed, 7 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 += \ |