[commit: testsuite] ghc-7.6: {ffi002, 5402, 5594}(threaded2) fail on Windows with 7.4.1 and 7.6 branch (67d8434)

Ian Lynagh igloo at earth.li
Sat Jan 26 00:36:56 CET 2013


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

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/67d84340abd3a1a2219e5d3e28973e31bfba13bc

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

commit 67d84340abd3a1a2219e5d3e28973e31bfba13bc
Author: Ian Lynagh <igloo at earth.li>
Date:   Fri Jan 25 21:09:39 2013 +0000

    {ffi002,5402,5594}(threaded2) fail on Windows with 7.4.1 and 7.6 branch
    
    The failure looks like:
    
    ffi002.exe: Using large values for -N is not allowed by default.
    Link with -rtsopts to allow full control.

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

 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 997997d..22133b1 100644
--- a/tests/ffi/should_run/all.T
+++ b/tests/ffi/should_run/all.T
@@ -4,7 +4,7 @@
 #	extra run flags
 #	expected process return value, if not zero
 
-# Doesn't work with External Core due to __labels
+# Does not work with External Core due to __labels
 test('fed001', compose(only_compiler_types(['ghc']),
 			expect_fail_for(['extcore','optextcore'])),
 		compile_and_run, [''])
@@ -13,6 +13,8 @@ test('fed001', compose(only_compiler_types(['ghc']),
 test('ffi001', omit_ways(['ghci']), compile_and_run, [''])
 test('ffi002', [ omit_ways(['ghci']),
                  extra_clean(['ffi002_c.o']),
+                 # This fails on Windows for unknown reasons
+                 if_os('mingw32', expect_fail_for(['threaded2'])),
                  compile_cmd_prefix('$MAKE ffi002_setup && ') ],
                  # The ffi002_setup hack is to ensure that we generate
                  # ffi002_stub.h before compiling ffi002_c.c, which
@@ -173,6 +175,8 @@ test('4221', [ omit_ways(['ghci']), extra_clean(['4221_c.o']) ],
 
 test('5402', [ omit_ways(['ghci']),
                exit_code(42),
+               # This fails on Windows for unknown reasons
+               if_os('mingw32', expect_fail_for(['threaded2'])),
                extra_clean(['5402_main.o']),
                  # The 5402_setup hack is to ensure that we generate
                  # 5402_stub.h before compiling 5402_main.c, which
@@ -182,6 +186,8 @@ test('5402', [ omit_ways(['ghci']),
 
 test('5594', [ omit_ways(['ghci']),
                extra_clean(['5594_c.o']),
+               # This fails on Windows for unknown reasons
+               if_os('mingw32', expect_fail_for(['threaded2'])),
                compile_cmd_prefix('$MAKE --no-print-directory 5594_setup && ') ],
                # The 5594_setup hack is to ensure that we generate
                # 5594_stub.h before compiling 5594_c.c, which





More information about the ghc-commits mailing list