diff options
author | Peter Trommler <ptrommler@acm.org> | 2019-11-03 13:54:41 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-05 02:46:48 -0500 |
commit | 487ede425bd0ef958481f0ca0b9614d362e10972 (patch) | |
tree | 816f7bc6878726fa6be1e88d802a00c45b0f8ad9 /testsuite/tests/ghci/linking | |
parent | d57059f72ed9a34f0589beac4feb41f8738dfdea (diff) | |
download | haskell-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/ghci/linking')
-rw-r--r-- | testsuite/tests/ghci/linking/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/all.T | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/linking/all.T b/testsuite/tests/ghci/linking/all.T index 88ada22332..a049df3b34 100644 --- a/testsuite/tests/ghci/linking/all.T +++ b/testsuite/tests/ghci/linking/all.T @@ -15,7 +15,7 @@ test('ghcilink003', [unless(doing_ghci, skip)], makefile_test, ['ghcilink003']) test('ghcilink004', [extra_files(['TestLink.hs', 'f.c']), unless(doing_ghci, skip), - when(arch('powerpc64') or arch('powerpc64le'), expect_broken(11259))], + unless(config.have_RTS_linker, skip)], makefile_test, ['ghcilink004']) test('ghcilink005', diff --git a/testsuite/tests/ghci/linking/dyn/all.T b/testsuite/tests/ghci/linking/dyn/all.T index 46ba064c17..550ae1b0d8 100644 --- a/testsuite/tests/ghci/linking/dyn/all.T +++ b/testsuite/tests/ghci/linking/dyn/all.T @@ -48,6 +48,7 @@ test('big-obj', [extra_files(['big-obj-c.c', 'big-obj.hs']), test('T3372', [unless(doing_ghci, skip), extra_run_opts('"' + config.libdir + '"'), + unless(config.have_RTS_linker, skip), # Concurrent GHC sessions is fragile on Windows since we must lock the # package database even for read-only access. # See Note [Locking package database on Windows] in GHC.PackageDb |