Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a73a72cf24f4588eb35a01e58f6a23b7af30d743

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

commit a73a72cf24f4588eb35a01e58f6a23b7af30d743
Author: Ian Lynagh <[email protected]>
Date:   Fri Oct 12 22:44:19 2012 +0100

    ghcilink004 fails when ghci is dynamic (it tries to load a .a file)

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

 tests/ghci/linking/all.T |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/ghci/linking/all.T b/tests/ghci/linking/all.T
index ee68e13..39be389 100644
--- a/tests/ghci/linking/all.T
+++ b/tests/ghci/linking/all.T
@@ -19,7 +19,8 @@ test('ghcilink003',
      ['$MAKE -s --no-print-directory ghcilink003'])
 
 test('ghcilink004',
-     extra_clean(['dir004/*','dir004']),
+     [if_ghci_dynamic(expect_fail), # dynamic ghci can't load '.a's
+      extra_clean(['dir004/*','dir004'])],
      run_command,
      ['$MAKE -s --no-print-directory ghcilink004'])
 



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to