[commit: ghc] master: testsuite: Fix a variety of issues when building with integer-simple (9937820)

git at git.haskell.org git at git.haskell.org
Tue Dec 25 03:29:11 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/993782073c0b380908e9541c40c6c5849dbacfec/ghc

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

commit 993782073c0b380908e9541c40c6c5849dbacfec
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Dec 23 06:34:00 2018 +0000

    testsuite: Fix a variety of issues when building with integer-simple
    
     * Mark arith011 as broken with integer-simple
    
       As noted in #16091, arith011 fails when run against integer-simple with a
       "divide by zero" exception. This suggests that integer-gmp and integer-simple
       are handling division by zero differently.
    
     * This also fixes broken_without_gmp; the lack of types made the previous
       failure silent, sadly. Improves situation of #16043.
    
     * Mark several tests implicitly depending upon integer-gmp as broken
       with integer-simple. These expect to see Core coming from integer-gmp,
       which breaks with integer-simple.
    
     * 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.
    
    This is all in service of fixing #16043.


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

993782073c0b380908e9541c40c6c5849dbacfec
 testsuite/driver/testlib.py                        | 26 ++++++++++++----------
 testsuite/mk/test.mk                               |  2 --
 testsuite/tests/numeric/should_compile/all.T       |  5 +++--
 testsuite/tests/numeric/should_run/all.T           |  4 +++-
 testsuite/tests/perf/space_leaks/all.T             |  3 ++-
 testsuite/tests/profiling/should_run/all.T         |  5 ++++-
 testsuite/tests/rename/should_compile/T3103/test.T |  2 +-
 testsuite/tests/safeHaskell/check/pkg01/all.T      |  3 ++-
 testsuite/tests/simplCore/should_run/all.T         |  3 ++-
 testsuite/tests/typecheck/should_fail/T5095.stderr |  2 +-
 10 files changed, 32 insertions(+), 23 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 993782073c0b380908e9541c40c6c5849dbacfec


More information about the ghc-commits mailing list