summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2019-01-08 10:50:30 -0800
committerBen Gamari <ben@smart-cactus.org>2019-01-16 14:17:11 -0500
commitd2eb344a38f6c727040ba76e584aeaca8e8aefb3 (patch)
tree8e12f97679d9c1122742be631df08af2a6d83a28 /testsuite/tests/lib
parentf7def747cf0da103237cd17af5c8bfdbdf5823b2 (diff)
downloadhaskell-d2eb344a38f6c727040ba76e584aeaca8e8aefb3.tar.gz
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`.
Diffstat (limited to 'testsuite/tests/lib')
-rw-r--r--testsuite/tests/lib/integer/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/lib/integer/all.T b/testsuite/tests/lib/integer/all.T
index aa7371df0a..fda9a4a791 100644
--- a/testsuite/tests/lib/integer/all.T
+++ b/testsuite/tests/lib/integer/all.T
@@ -3,7 +3,7 @@ test('integerConversions', normal, compile_and_run, [''])
# skip ghci as it doesn't support unboxed tuples
test('integerGmpInternals', [reqlib('integer-gmp'), omit_ways('ghci')], compile_and_run, [''])
test('plusMinusInteger', [omit_ways('ghci')], compile_and_run, [''])
-test('integerConstantFolding', broken_without_gmp, run_command,
+test('integerConstantFolding', normal, run_command,
['$MAKE -s --no-print-directory integerConstantFolding'])
test('fromToInteger', [], run_command,
['$MAKE -s --no-print-directory fromToInteger'])