[commit: ghc] master: Fix T15502 on 32-bit (ecbe26b)

git at git.haskell.org git at git.haskell.org
Fri Sep 14 12:39:47 UTC 2018


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

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

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

commit ecbe26b6966a3a64f4e22e862370536b1dd4440f
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Fri Sep 14 14:38:42 2018 +0200

    Fix T15502 on 32-bit
    
    Summary:
    The expected output uses a hardcoded value for
    maxBound :: Int.
    
    This should fix one of circleci failures on i386.
    
    Test Plan: make test TEST=T15502
    
    Reviewers: RyanGlScott, bgamari
    
    Reviewed By: RyanGlScott
    
    Subscribers: rwbarton, carter
    
    GHC Trac Issues: #15502
    
    Differential Revision: https://phabricator.haskell.org/D5151


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

ecbe26b6966a3a64f4e22e862370536b1dd4440f
 testsuite/tests/th/T15502.stderr-ws-32                    | 4 ++++
 testsuite/tests/th/{T15502.stderr => T15502.stderr-ws-64} | 0
 2 files changed, 4 insertions(+)

diff --git a/testsuite/tests/th/T15502.stderr-ws-32 b/testsuite/tests/th/T15502.stderr-ws-32
new file mode 100644
index 0000000..ba7b91c
--- /dev/null
+++ b/testsuite/tests/th/T15502.stderr-ws-32
@@ -0,0 +1,4 @@
+T15502.hs:7:19-56: Splicing expression
+    lift (toInteger (maxBound :: Int) + 1) ======> 2147483648
+T15502.hs:8:19-40: Splicing expression
+    lift (minBound :: Int) ======> (-2147483648)
diff --git a/testsuite/tests/th/T15502.stderr b/testsuite/tests/th/T15502.stderr-ws-64
similarity index 100%
rename from testsuite/tests/th/T15502.stderr
rename to testsuite/tests/th/T15502.stderr-ws-64



More information about the ghc-commits mailing list