skip this test on Windows (no forkProcess)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 24 Nov 2011 13:57:17 +0000 (13:57 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 24 Nov 2011 14:08:06 +0000 (14:08 +0000)
tests/fork/test.T

index a045f2e..5ffb62d 100644 (file)
@@ -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'])