[commit: hpc] master: skip this test on Windows (no forkProcess) (9bd41da)
Simon Marlow
marlowsd at gmail.com
Thu Nov 24 15:58:33 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/hpc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9bd41daa9ea1bf12a9b2a90753927a5cff7378f4
>---------------------------------------------------------------
commit 9bd41daa9ea1bf12a9b2a90753927a5cff7378f4
Author: Simon Marlow <marlowsd at gmail.com>
Date: Thu Nov 24 13:57:17 2011 +0000
skip this test on Windows (no forkProcess)
>---------------------------------------------------------------
tests/fork/test.T | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/fork/test.T b/tests/fork/test.T
index a045f2e..5ffb62d 100644
--- a/tests/fork/test.T
+++ b/tests/fork/test.T
@@ -4,5 +4,6 @@ setTestOpts(compose(only_compiler_types(['ghc']),
hpc_prefix = "perl ../hpcrun.pl --clear --exeext=" + config.exeext + " --hpc='" + config.hpc + "'";
-test('hpc_fork', cmd_prefix(hpc_prefix), compile_and_run, ['-fhpc'])
+test('hpc_fork', [ if_os('mingw32', skip), # no forkProcess on Windows
+ cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
More information about the Cvs-libraries
mailing list