diff options
author | Peter Trommler <ptrommler@acm.org> | 2019-09-08 15:28:16 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-09-11 09:45:47 -0400 |
commit | 58569a5b40e060066ad10df81ed77a6f77f23d9f (patch) | |
tree | 4990a9425f97883061f118b73884e82b4e501111 /testsuite | |
parent | 7032a91362766c0aa7a9bdd28a3506897f40cf66 (diff) | |
download | haskell-58569a5b40e060066ad10df81ed77a6f77f23d9f.tar.gz |
testsuite: check for RTS linker
Fixes #16833
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/config/ghc | 1 | ||||
-rw-r--r-- | testsuite/tests/plugins/all.T | 2 |
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, |