[commit: ghc] wip/ghc-8.6-backports: testsuite: Mark heapprof001 as broken in prof_hc_hb way on i386 (1acf0ce)

git at git.haskell.org git at git.haskell.org
Mon Jan 7 17:18:50 UTC 2019


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

On branch  : wip/ghc-8.6-backports
Link       : http://ghc.haskell.org/trac/ghc/changeset/1acf0ceb0156098b210d2b4bb879430519d313cf/ghc

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

commit 1acf0ceb0156098b210d2b4bb879430519d313cf
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Dec 22 13:02:08 2018 -0500

    testsuite: Mark heapprof001 as broken in prof_hc_hb way on i386
    
    As documented in #15382, this is known to fail in prof_hc_hb on i386.
    Concerningly, I have also seen this test non-deterministically fail in
    prof_hc_hb on amd64. We should really investigate this.
    
    (cherry picked from commit 8fd3f9a67f9c7b447a5bfcb3aefd8986794918ce)


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

1acf0ceb0156098b210d2b4bb879430519d313cf
 testsuite/tests/profiling/should_run/all.T | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 8d605f2..c3d34af 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -23,7 +23,9 @@ expect_broken_for_10037 = expect_broken_for(
      # e.g. prof and profllvm
 
 test('heapprof001',
-     [when(have_profiling(), extra_ways(extra_prof_ways)), extra_run_opts('7')],
+     [when(have_profiling(), extra_ways(extra_prof_ways)),
+      when(arch('i386'), expect_broken_for(15382, ['prof_hc_hb'])),
+      extra_run_opts('7')],
      compile_and_run, [''])
 
 test('T2592',



More information about the ghc-commits mailing list