[commit: testsuite] master: The linker can still be used when DYNAMIC_GHC_PROGRAMS=YES (4b94f0c)

git at git.haskell.org git at git.haskell.org
Thu Aug 22 22:34:37 CEST 2013


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

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

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

commit 4b94f0c757dd924ba104172e9323b521e689b837
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Thu Aug 22 21:33:38 2013 +0100

    The linker can still be used when DYNAMIC_GHC_PROGRAMS=YES


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

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

diff --git a/tests/ghci/linking/all.T b/tests/ghci/linking/all.T
index 2360030..1a793d2 100644
--- a/tests/ghci/linking/all.T
+++ b/tests/ghci/linking/all.T
@@ -21,8 +21,7 @@ test('ghcilink003',
      ['$MAKE -s --no-print-directory ghcilink003'])
 
 test('ghcilink004',
-     [when(ghci_dynamic(), expect_fail), # dynamic ghci can't load '.a's
-      unless(doing_ghci, skip),
+     [unless(doing_ghci, skip),
       extra_clean(['dir004/*','dir004'])],
      run_command,
      ['$MAKE -s --no-print-directory ghcilink004'])
diff --git a/tests/rts/all.T b/tests/rts/all.T
index cd71b7f..6b5e5f6 100644
--- a/tests/rts/all.T
+++ b/tests/rts/all.T
@@ -182,7 +182,6 @@ test('T7919', [extra_clean(['T7919A.o','T7919A.hi',
 test('T8035', normal, compile_and_run, [''])
 
 test('linker_unload',
-     [ when(ghci_dynamic(), expect_fail) # dynamic ghci can't load '.a's
-     , extra_clean(['Test.o','Test.hi', 'linker_unload']) ],
+     [ 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