[commit: testsuite] ghc-7.6: ffi017(ghci) fails on Win64 (95323e6)

Ian Lynagh igloo at earth.li
Sat Jan 26 15:46:53 CET 2013


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

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/95323e6d196a5381c8d3b946618425039178f8ea

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

commit 95323e6d196a5381c8d3b946618425039178f8ea
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Jan 26 14:03:41 2013 +0000

    ffi017(ghci) fails on Win64

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

 tests/ffi/should_run/all.T |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/tests/ffi/should_run/all.T b/tests/ffi/should_run/all.T
index 22133b1..b5121fd 100644
--- a/tests/ffi/should_run/all.T
+++ b/tests/ffi/should_run/all.T
@@ -105,7 +105,13 @@ test('ffi015', [ omit_ways(['ghci']), extra_clean(['ffi015_cbits.o']) ],
 # GHCi can't handle foreign import "&"
 test('ffi016', omit_ways(['ghci']), compile_and_run, [''])
 
-test('ffi017', normal, compile_and_run, [''])
+test('ffi017',
+     # On Win64 this fails for the ghci way with:
+     # During interactive linking, GHCi couldn't find the following symbol:
+     # lseek
+     if_platform('x86_64-unknown-mingw32', expect_fail_for(['ghci'])),
+     compile_and_run,
+     [''])
 
 test('ffi018', [ omit_ways(['ghci']), extra_clean(['ffi018_c.o']) ],
                compile_and_run, ['ffi018_c.c'])





More information about the ghc-commits mailing list