Testsuite: hpc_fork is failing for some ways
authorThomas Miedema <thomasmiedema@gmail.com>
Thu, 25 Feb 2016 22:21:06 +0000 (23:21 +0100)
committerThomas Miedema <thomasmiedema@gmail.com>
Thu, 25 Feb 2016 22:21:06 +0000 (23:21 +0100)
tests/fork/test.T

index cd8b963..5b27e62 100644 (file)
@@ -2,6 +2,12 @@ setTestOpts([omit_ways(['ghci','threaded2']), when(fast(), skip)])
 
 hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
 
-test('hpc_fork', [ when(opsys('mingw32'), skip), # no forkProcess on Windows
-                   cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
+failing_ways_for_11645 = \
+    [w for w in prof_ways if w not in threaded_ways and w in opt_ways]
+
+# Skip on Windows, no forkProcess.
+test('hpc_fork',
+     [when(opsys('mingw32'), skip), cmd_prefix(hpc_prefix),
+      expect_broken_for(11645, failing_ways_for_11645)],
+     compile_and_run, ['-fhpc'])