diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-23 15:28:49 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-23 15:56:54 +0100 |
commit | cbc8f10429e8f1af7e82c29a70c8efb476c213e3 (patch) | |
tree | 046c79f3dc5ffefde45f5d356a482d0fed46b925 /testsuite/driver/testlib.py | |
parent | 0da9cdbb3ac12d8badfd39c0801ec1699540481d (diff) | |
download | haskell-cbc8f10429e8f1af7e82c29a70c8efb476c213e3.tar.gz |
Expect 4006 to fail on msys
In the 65001 codepage, we can't even cat the expected output on msys:
$ cat 4006.stdout
It works here
cat: write error: Permission denied
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r-- | testsuite/driver/testlib.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 0dce28c4aa..f48b86df81 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -278,6 +278,18 @@ def if_wordsize( ws, f ): else: return normal +def if_msys( f ): + if config.msys: + return f + else: + return normal + +def if_cygwin( f ): + if config.cygwin: + return f + else: + return normal + # --- def if_in_tree_compiler( f ): |