summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2019-09-08 13:28:16 (GMT)
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-11 13:45:47 (GMT)
commit58569a5b40e060066ad10df81ed77a6f77f23d9f (patch)
tree4990a9425f97883061f118b73884e82b4e501111
parent7032a91362766c0aa7a9bdd28a3506897f40cf66 (diff)
downloadghc-58569a5b40e060066ad10df81ed77a6f77f23d9f.zip
ghc-58569a5b40e060066ad10df81ed77a6f77f23d9f.tar.gz
ghc-58569a5b40e060066ad10df81ed77a6f77f23d9f.tar.bz2
testsuite: check for RTS linker
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 3ca55fc..84e04e0 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 e6252b2..acc7968 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,