[commit: unix] master: Remove uses of compose(s) in tests (d48e61c)

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


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d48e61c63f8e26124ef1917ecc20a0641137068b

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

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

    Remove uses of compose(s) in tests

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

 tests/all.T |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/all.T b/tests/all.T
index c849a69..eb220c9 100644
--- a/tests/all.T
+++ b/tests/all.T
@@ -16,13 +16,14 @@ test('resourceLimit', normal, compile_and_run, ['-package unix'])
 
 x86FreeBsdFail = when(platform('i386-unknown-freebsd'), expect_fail)
 
-test('queryfdoption01', compose(omit_ways(['ghci']), compose(only_compiler_types(['ghc']), x86FreeBsdFail)),
+test('queryfdoption01',
+    [omit_ways(['ghci']), only_compiler_types(['ghc']), x86FreeBsdFail],
 	compile_and_run, ['-package unix'])
 test('getEnvironment01', x86FreeBsdFail, compile_and_run, ['-package unix'])
 test('getEnvironment02', x86FreeBsdFail, compile_and_run, ['-package unix'])
-test('getGroupEntryForName', compose(x86FreeBsdFail, exit_code(1)), compile_and_run,
+test('getGroupEntryForName', [x86FreeBsdFail, exit_code(1)], compile_and_run,
      ['-package unix'])
-test('getUserEntryForName', compose(x86FreeBsdFail, exit_code(1)), compile_and_run,
+test('getUserEntryForName', [x86FreeBsdFail, exit_code(1)], compile_and_run,
      ['-package unix'])
 
 





More information about the ghc-commits mailing list