summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/linkwhole
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2019-11-03 13:54:41 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-05 02:46:48 -0500
commit487ede425bd0ef958481f0ca0b9614d362e10972 (patch)
tree816f7bc6878726fa6be1e88d802a00c45b0f8ad9 /testsuite/tests/driver/linkwhole
parentd57059f72ed9a34f0589beac4feb41f8738dfdea (diff)
downloadhaskell-487ede425bd0ef958481f0ca0b9614d362e10972.tar.gz
testsuite: skip test requiring RTS linker on PowerPC
The RTS linker is not available on 64-bit PowerPC. Instead of marking tests that require the RTS linker as broken on PowerPC 64-bit skip the respective tests on all platforms where the RTS linker or a statically linked external interpreter is not available. Fixes #11259
Diffstat (limited to 'testsuite/tests/driver/linkwhole')
-rw-r--r--testsuite/tests/driver/linkwhole/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/driver/linkwhole/all.T b/testsuite/tests/driver/linkwhole/all.T
index ed5b9cc9f0..e4881bbcc5 100644
--- a/testsuite/tests/driver/linkwhole/all.T
+++ b/testsuite/tests/driver/linkwhole/all.T
@@ -1,6 +1,6 @@
test('linkwhole',
[extra_files(['Types.hs','Main.hs','MyCode.hs','Handles.hs']),
- when(arch('powerpc64') or arch('powerpc64le'), expect_broken(11259)),
+ unless(config.have_RTS_linker, skip),
when(opsys('freebsd'), expect_broken(16035)),
when(opsys('mingw32'), skip)],
makefile_test, [])