[commit: ghc] wip/fix-integer-simple-ci: testsuite: Increase runtime timeout multiplier of T11627a with integer-simple (c9723b8)

git at git.haskell.org git at git.haskell.org
Thu Dec 27 17:00:24 UTC 2018


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

On branch  : wip/fix-integer-simple-ci
Link       : http://ghc.haskell.org/trac/ghc/changeset/c9723b8fddad5d8f47af48ba76c5f355de7180d9/ghc

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

commit c9723b8fddad5d8f47af48ba76c5f355de7180d9
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Dec 23 12:40:29 2018 -0500

    testsuite: Increase runtime timeout multiplier of T11627a with integer-simple
    
    I previously saw that T11627a timed out in all profiling ways when run against
    integer-simple. I suspect this is due to integer-simple's rather verbose heap
    representation. Let's see whether increasing the runtime timeout helps.
    
    Fixes test for #11627.


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

c9723b8fddad5d8f47af48ba76c5f355de7180d9
 testsuite/tests/profiling/should_run/all.T | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 050287e..1e72e94 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -115,7 +115,11 @@ test('T5363', [], compile_and_run, [''])
 
 test('profinline001', [], compile_and_run, [''])
 
-test('T11627a', [ extra_ways(extra_prof_ways)
+test('T11627a', [ extra_ways(extra_prof_ways),
+                  # integer-simple has an extremely large representation and
+                  # consequently needs more time
+                  when(using_integer_backend('integer-simple'),
+                       run_timeout_multiplier(3))
                 ],
      compile_and_run, [''])
 



More information about the ghc-commits mailing list