[commit: ghc] master: testsuite: disable 'rdynamic' for 'ghci' way (75d998b)

git at git.haskell.org git at git.haskell.org
Thu Aug 28 13:17:35 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/75d998bfad7433ba000236dfd07e386c95f2b769/ghc

>---------------------------------------------------------------

commit 75d998bfad7433ba000236dfd07e386c95f2b769
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Thu Aug 28 16:14:22 2014 +0300

    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 at gentoo.org>


>---------------------------------------------------------------

75d998bfad7433ba000236dfd07e386c95f2b769
 testsuite/tests/rts/all.T | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 0eb54ba..d494872 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"



More information about the ghc-commits mailing list