[commit: packages/hpc] master: Testsuite: hpc_fork is failing for some ways (17c3771)

git at git.haskell.org git at git.haskell.org
Thu Feb 25 22:19:20 UTC 2016


Repository : ssh://git@git.haskell.org/hpc

On branch  : master
Link       : http://git.haskell.org/packages/hpc.git/commitdiff/17c3771e42e64ecda8970e8d6bea5c7e7fe1a4d6

>---------------------------------------------------------------

commit 17c3771e42e64ecda8970e8d6bea5c7e7fe1a4d6
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Thu Feb 25 23:21:06 2016 +0100

    Testsuite: hpc_fork is failing for some ways


>---------------------------------------------------------------

17c3771e42e64ecda8970e8d6bea5c7e7fe1a4d6
 tests/fork/test.T | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/tests/fork/test.T b/tests/fork/test.T
index cd8b963..5b27e62 100644
--- a/tests/fork/test.T
+++ b/tests/fork/test.T
@@ -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'])
 



More information about the ghc-commits mailing list