[commit: unix] master: Don't bother marking unix tests as 'skip' on Windows (8e61f7f)

Ian Lynagh igloo at earth.li
Thu Feb 14 17:36:48 CET 2013


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8e61f7f66e621a91221a32fa26980e820b38a057

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

commit 8e61f7f66e621a91221a32fa26980e820b38a057
Author: Ian Lynagh <ian at well-typed.com>
Date:   Thu Feb 14 14:06:24 2013 +0000

    Don't bother marking unix tests as 'skip' on Windows
    
    We don't run the unix tests on Windows anyway.

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

 tests/all.T |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/tests/all.T b/tests/all.T
index e6aaefc..56dea8c 100644
--- a/tests/all.T
+++ b/tests/all.T
@@ -1,26 +1,23 @@
-if config.platform == 'i386-unknown-mingw32':
-   conf = skip
-else:
-   conf = normal
 
-test('signals001',  conf, compile_and_run, ['-package unix -cpp'])
-test('signals002',  compose(only_compiler_types(['ghc']), conf),
+test('signals001',  normal, compile_and_run, ['-package unix -cpp'])
+test('signals002',  only_compiler_types(['ghc']),
 	compile_and_run, ['-package unix'])
-test('fileexist01', conf, compile_and_run, ['-package unix'])
+test('fileexist01', normal, compile_and_run, ['-package unix'])
 test('forkprocess01', [ only_compiler_types(['ghc']),
-                        extra_ways(['threaded1_ls']), # test #4512
-                        conf ],
+                        extra_ways(['threaded1_ls']) ], # test #4512
         compile_and_run, ['-package unix'])
 
 #
 # user001 may fail due to this bug in glibc:
 #   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647
 #
-test('user001', conf, compile_and_run, ['-package unix'])
-test('resourceLimit', conf, compile_and_run, ['-package unix'])
+test('user001', normal, compile_and_run, ['-package unix'])
+test('resourceLimit', normal, compile_and_run, ['-package unix'])
 
 if config.platform == 'i386-unknown-freebsd':
         conf = expect_fail
+else:
+        conf = normal
 
 test('queryfdoption01', compose(omit_ways(['ghci']), compose(only_compiler_types(['ghc']), conf)),
 	compile_and_run, ['-package unix'])





More information about the ghc-commits mailing list