[commit: base] master: Fix an 'if windows' test to cover Win64 too (1784741)

Ian Lynagh igloo at earth.li
Sat Jan 26 16:32:09 CET 2013


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1784741a65125230bbdecb2e5adbd16548a0ebdb

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

commit 1784741a65125230bbdecb2e5adbd16548a0ebdb
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 4c70c38..18b3b14 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