[commit: ghc] wip/T16197: Fix tests for `integer-simple` (d2eb344)

git at git.haskell.org git at git.haskell.org
Thu Jan 17 13:58:39 UTC 2019


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

On branch  : wip/T16197
Link       : http://ghc.haskell.org/trac/ghc/changeset/d2eb344a38f6c727040ba76e584aeaca8e8aefb3/ghc

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

commit d2eb344a38f6c727040ba76e584aeaca8e8aefb3
Author: Alec Theriault <alec.theriault at gmail.com>
Date:   Tue Jan 8 10:50:30 2019 -0800

    Fix tests for `integer-simple`
    
    A bunch of tests for `integer-simple` were now broken for a foolish reason:
    unlike the `integer-gmp` case, there is no CorePrep optimization for turning
    small integers directly into applications of `S#`.
    
    Rather than port this optimization to `integer-simple` (which would involve
    moving a bunch of `integer-simple` names into `PrelNames`), I switched
    as many tests as possible to use `Int`.
    
    The printing of `Integer` is already tested in `print037`.


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

d2eb344a38f6c727040ba76e584aeaca8e8aefb3
 testsuite/driver/testlib.py                        |  3 --
 testsuite/tests/ghci.debugger/GADT.hs              |  2 +-
 testsuite/tests/ghci.debugger/QSort.hs             |  2 +-
 testsuite/tests/ghci.debugger/scripts/T2740.script |  2 +-
 testsuite/tests/ghci.debugger/scripts/T2740.stdout |  4 +-
 testsuite/tests/ghci.debugger/scripts/all.T        | 52 +++++++++++-----------
 .../tests/ghci.debugger/scripts/break001.script    |  2 +-
 .../tests/ghci.debugger/scripts/break001.stdout    | 12 ++---
 .../tests/ghci.debugger/scripts/break005.script    |  2 +-
 .../tests/ghci.debugger/scripts/break005.stdout    |  8 ++--
 .../tests/ghci.debugger/scripts/break006.script    |  4 +-
 .../tests/ghci.debugger/scripts/break006.stdout    | 24 +++++-----
 .../tests/ghci.debugger/scripts/break026.script    |  4 +-
 .../tests/ghci.debugger/scripts/break026.stdout    | 52 +++++++++++-----------
 .../tests/ghci.debugger/scripts/break027.script    |  2 +-
 .../tests/ghci.debugger/scripts/break027.stdout    | 10 ++---
 .../tests/ghci.debugger/scripts/dynbrk002.stdout   |  8 ++--
 .../tests/ghci.debugger/scripts/print002.script    | 10 ++++-
 .../tests/ghci.debugger/scripts/print002.stdout    |  1 +
 .../tests/ghci.debugger/scripts/print003.script    |  2 +-
 .../tests/ghci.debugger/scripts/print003.stdout    |  5 +--
 .../tests/ghci.debugger/scripts/print005.script    |  2 +-
 .../tests/ghci.debugger/scripts/print005.stdout    | 22 ++++-----
 .../tests/ghci.debugger/scripts/print006.script    |  2 +-
 .../tests/ghci.debugger/scripts/print006.stdout    |  5 +--
 .../tests/ghci.debugger/scripts/print008.script    |  2 +-
 .../tests/ghci.debugger/scripts/print008.stdout    |  4 +-
 .../tests/ghci.debugger/scripts/print012.stdout    |  6 +--
 .../tests/ghci.debugger/scripts/print013.script    |  2 +-
 .../tests/ghci.debugger/scripts/print014.script    |  2 +-
 testsuite/tests/ghci/scripts/T2976.script          |  2 +-
 testsuite/tests/ghci/scripts/T2976.stdout          |  4 +-
 testsuite/tests/ghci/scripts/all.T                 |  4 +-
 testsuite/tests/ghci/scripts/ghci055.script        |  2 +-
 testsuite/tests/ghci/scripts/ghci055.stdout        |  2 +-
 testsuite/tests/lib/integer/all.T                  |  2 +-
 36 files changed, 138 insertions(+), 136 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 d2eb344a38f6c727040ba76e584aeaca8e8aefb3


More information about the ghc-commits mailing list