Skip hpc_fork in profiled ways master
authorBen Gamari <ben@smart-cactus.org>
Tue, 9 Jul 2019 22:37:16 +0000 (18:37 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 9 Jul 2019 22:37:16 +0000 (18:37 -0400)
As pointed out in #8862 and #11465, profiling and forking don't go well
together.

tests/fork/test.T

index 6e40a44..d8d387b 100644 (file)
@@ -2,7 +2,11 @@ setTestOpts([omit_ways(['ghci','threaded2']), when(fast(), skip)])
 
 hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
 
-test('hpc_fork', [extra_files(['../hpcrun.pl']),
-                   when(opsys('mingw32'), skip), # no forkProcess on Windows
-                   cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
+test('hpc_fork',
+     [extra_files(['../hpcrun.pl']),
+      when(opsys('mingw32'), skip), # no forkProcess on Windows
+      # profiling and forkProcess don't go well together. See #11645 and #8862.
+      expect_broken_for(16907, prof_ways),
+      cmd_prefix(hpc_prefix)],
+     compile_and_run, ['-fhpc'])