[commit: testsuite] master: linker_unload fails when using dynamic GHCi. (a5875c4)

git at git.haskell.org git at git.haskell.org
Thu Aug 22 20:24:05 CEST 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a5875c4e4fb83993142c8e8294b47516adf6a77f/testsuite

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

commit a5875c4e4fb83993142c8e8294b47516adf6a77f
Author: Austin Seipp <aseipp at pobox.com>
Date:   Thu Aug 22 13:22:22 2013 -0500

    linker_unload fails when using dynamic GHCi.
    
    This is because dynamic GHCi can't load archive files, and linker_unload
    explicitly does this via loadArchive().
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


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

a5875c4e4fb83993142c8e8294b47516adf6a77f
 tests/rts/all.T |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/rts/all.T b/tests/rts/all.T
index 70e3862..6445f63 100644
--- a/tests/rts/all.T
+++ b/tests/rts/all.T
@@ -182,6 +182,7 @@ test('T7919', [extra_clean(['T7919A.o','T7919A.hi',
 test('T8035', normal, compile_and_run, [''])
 
 test('linker_unload',
-     [ extra_clean(['Test.o','Test.hi', 'linker_unload']) ],
+     [ when(ghci_dynamic(), expect_fail) # dynamic ghci can't load '.a's
+     , extra_clean(['Test.o','Test.hi', 'linker_unload']) ],
      run_command,
      ['$MAKE -s --no-print-directory linker_unload'])





More information about the ghc-commits mailing list