[commit: hpc] master: Follow changes in the testsuite (b039493)

Ian Lynagh igloo at earth.li
Mon Feb 11 17:33:08 CET 2013


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

On branch  : master

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

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

commit b039493a2f183caf677fdfff4d14725c3bde38f5
Author: Ian Lynagh <ian at well-typed.com>
Date:   Mon Feb 11 14:11:06 2013 +0000

    Follow changes in the testsuite

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

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

diff --git a/tests/fork/test.T b/tests/fork/test.T
index 5ffb62d..4227b2c 100644
--- a/tests/fork/test.T
+++ b/tests/fork/test.T
@@ -4,6 +4,6 @@ setTestOpts(compose(only_compiler_types(['ghc']),
 
 hpc_prefix = "perl ../hpcrun.pl --clear --exeext=" + config.exeext + " --hpc='" + config.hpc + "'";
 
-test('hpc_fork', [ if_os('mingw32', skip), # no forkProcess on Windows
+test('hpc_fork', [ when(opsys('mingw32'), skip), # no forkProcess on Windows
                    cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
 





More information about the ghc-commits mailing list