Follow changes in the testsuite
authorIan Lynagh <ian@well-typed.com>
Mon, 11 Feb 2013 14:11:06 +0000 (14:11 +0000)
committerIan Lynagh <ian@well-typed.com>
Mon, 11 Feb 2013 14:11:06 +0000 (14:11 +0000)
tests/fork/test.T

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