[GHC] #15062: num009 is incredibly platform-sensitive

GHC ghc-devs at haskell.org
Thu Apr 19 18:30:39 UTC 2018


#15062: num009 is incredibly platform-sensitive
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  high           |         Milestone:  8.6.1
          Component:  Test Suite     |           Version:  8.2.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The functions tested by `num009` are certainly worthwhile to test, but we
 really need to find a better way to test them. Currently the test
 seemingly fails in more places than it passes:

  * Fails on Darwin (#2370)
  * Fails on POWER8 (#13634)
  * Fails on Win32 when in the `ghci` way (no ticket)
  * Fails under i386 on CircleCI (e.g.
 https://circleci.com/gh/ghc/ghc/3666)

 Perhaps we should instead test the output against the same evaluations
 performed by a C program. This would eliminate spurious failures due to
 platform or C library differences.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15062>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list