[commit: base] ghc-7.6: Fix an 'if windows' test to cover Win64 too (59d1d7e)

Ian Lynagh igloo at earth.li
Sat Jan 26 15:45:20 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/59d1d7eafd985044a4ca5e8c61c879da965dd94e

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

commit 59d1d7eafd985044a4ca5e8c61c879da965dd94e
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Jan 26 14:05:14 2013 +0000

    Fix an 'if windows' test to cover Win64 too

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

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

diff --git a/tests/IO/all.T b/tests/IO/all.T
index 291f90f..edf150b 100644
--- a/tests/IO/all.T
+++ b/tests/IO/all.T
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 def expect_fail_if_windows(opts):
-   f = if_platform('i386-unknown-mingw32', expect_fail);
+   f = if_os('mingw32', expect_fail);
    return f(opts);
 
 test('IOError001', compose(omit_ways(['ghci']), set_stdin('IOError001.hs')),





More information about the ghc-commits mailing list