summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-08-28 16:14:22 +0300
committerSergei Trofimovich <slyfox@gentoo.org>2014-08-28 16:16:47 +0300
commit75d998bfad7433ba000236dfd07e386c95f2b769 (patch)
tree343c6184e1aadd82dc1d9f3c31742193519cf21c /testsuite
parent11455684212b2bbf76d5eb20fdd2d01fbdf21311 (diff)
downloadhaskell-75d998bfad7433ba000236dfd07e386c95f2b769.tar.gz
testsuite: disable 'rdynamic' for 'ghci' way
'-rdynamic' is currently only a link-time option. Does not make sense for ghci without major changes. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/rts/all.T6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 0eb54ba42f..d4948727e3 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -233,7 +233,11 @@ test('T9045', [ omit_ways(['ghci']), extra_run_opts('10000 +RTS -A8k -RTS') ], c
# with the non-threaded one.
test('T9078', [ omit_ways(threaded_ways) ], compile_and_run, ['-with-rtsopts="-DS" -debug'])
-test('rdynamic', unless(opsys('linux') or opsys('mingw32'), skip),
+test('rdynamic', [ unless(opsys('linux') or opsys('mingw32'), skip)
+ # this needs runtime infrastructure to do in ghci:
+ # '-rdynamic' ghc, load modules only via dlopen(RTLD_BLOBAL) and more.
+ , omit_ways(['ghci'])
+ ],
compile_and_run, ['-rdynamic -package ghc'])
# 251 = RTS exit code for "out of memory"