Fix tests for `integer-simple`
authorAlec Theriault <alec.theriault@gmail.com>
Tue, 8 Jan 2019 18:50:30 +0000 (10:50 -0800)
committerBen Gamari <ben@smart-cactus.org>
Wed, 16 Jan 2019 19:17:11 +0000 (14:17 -0500)
commitd2eb344a38f6c727040ba76e584aeaca8e8aefb3
tree8e12f97679d9c1122742be631df08af2a6d83a28
parentf7def747cf0da103237cd17af5c8bfdbdf5823b2
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`.
36 files changed:
testsuite/driver/testlib.py
testsuite/tests/ghci.debugger/GADT.hs
testsuite/tests/ghci.debugger/QSort.hs
testsuite/tests/ghci.debugger/scripts/T2740.script
testsuite/tests/ghci.debugger/scripts/T2740.stdout
testsuite/tests/ghci.debugger/scripts/all.T
testsuite/tests/ghci.debugger/scripts/break001.script
testsuite/tests/ghci.debugger/scripts/break001.stdout
testsuite/tests/ghci.debugger/scripts/break005.script
testsuite/tests/ghci.debugger/scripts/break005.stdout
testsuite/tests/ghci.debugger/scripts/break006.script
testsuite/tests/ghci.debugger/scripts/break006.stdout
testsuite/tests/ghci.debugger/scripts/break026.script
testsuite/tests/ghci.debugger/scripts/break026.stdout
testsuite/tests/ghci.debugger/scripts/break027.script
testsuite/tests/ghci.debugger/scripts/break027.stdout
testsuite/tests/ghci.debugger/scripts/dynbrk002.stdout
testsuite/tests/ghci.debugger/scripts/print002.script
testsuite/tests/ghci.debugger/scripts/print002.stdout
testsuite/tests/ghci.debugger/scripts/print003.script
testsuite/tests/ghci.debugger/scripts/print003.stdout
testsuite/tests/ghci.debugger/scripts/print005.script
testsuite/tests/ghci.debugger/scripts/print005.stdout
testsuite/tests/ghci.debugger/scripts/print006.script
testsuite/tests/ghci.debugger/scripts/print006.stdout
testsuite/tests/ghci.debugger/scripts/print008.script
testsuite/tests/ghci.debugger/scripts/print008.stdout
testsuite/tests/ghci.debugger/scripts/print012.stdout
testsuite/tests/ghci.debugger/scripts/print013.script
testsuite/tests/ghci.debugger/scripts/print014.script
testsuite/tests/ghci/scripts/T2976.script
testsuite/tests/ghci/scripts/T2976.stdout
testsuite/tests/ghci/scripts/all.T
testsuite/tests/ghci/scripts/ghci055.script
testsuite/tests/ghci/scripts/ghci055.stdout
testsuite/tests/lib/integer/all.T