From 1a68590c69df208a6ece211d05c92d97711b249f Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Sun, 8 Sep 2019 15:28:16 +0200 Subject: testsuite: check for RTS linker Fixes #16833 --- testsuite/config/ghc | 1 + testsuite/tests/plugins/all.T | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.1