summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2019-09-08 15:28:16 +0200
committerPeter Trommler <ptrommler@acm.org>2019-09-08 15:28:16 +0200
commit1a68590c69df208a6ece211d05c92d97711b249f (patch)
treead6307cb9a609f34da9b9d95a080ac825a6b3ee0
parentb0fdd7fe666ae61044f041233354765c4bb68529 (diff)
downloadhaskell-wip/T16833.tar.gz
testsuite: check for RTS linkerwip/T16833
Fixes #16833
-rw-r--r--testsuite/config/ghc1
-rw-r--r--testsuite/tests/plugins/all.T2
2 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 3ca55fc325..84e04e084d 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -167,6 +167,7 @@ def get_compiler_info():
config.have_ncg = compilerInfoDict.get("Have native code generator", "NO") == "YES"
+ config.have_RTS_linker = compilerInfoDict.get("target has RTS linker", "NO") == "YES"
# external interpreter needs RTS linker support
# If the field is not present (GHC 8.0 and earlier), assume we don't
# have -fexternal-interpreter (though GHC 8.0 actually does)
diff --git a/testsuite/tests/plugins/all.T b/testsuite/tests/plugins/all.T
index e6252b29ce..acc796808c 100644
--- a/testsuite/tests/plugins/all.T
+++ b/testsuite/tests/plugins/all.T
@@ -181,7 +181,7 @@ test('plugin-recomp-change-prof',
test('static-plugins',
[extra_files(['simple-plugin/']),
- unless(config.have_ext_interp, skip),
+ unless(config.have_RTS_linker, skip),
expect_broken_for(16803, prof_ways),
extra_run_opts('"' + config.libdir + '"')],
compile_and_run,