[GHC] #11093: T9579 fails on OS X

GHC ghc-devs at haskell.org
Sun Nov 15 11:18:54 UTC 2015


#11093: T9579 fails on OS X
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.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:
-------------------------------------+-------------------------------------
 As pointed out in ticket:9579#comment:19 the testcase T9579 fails on OS X,
 {{{
 Actual stdout output differs from expected:
 --- ./T9579_outofheap_rtsall.stdout.normalised  2015-06-16
 14:06:15.000000000 -0400
 +++ ./T9579_outofheap_rtsall.run.stdout.normalised      2015-06-16
 14:06:15.000000000 -0400
 @@ -1,4 +1,4 @@
  T9579_outofheap_rtsall: Heap exhausted;
 -T9579_outofheap_rtsall: Current maximum heap size is NUM bytes (1 MB).
 +T9579_outofheap_rtsall: Current maximum heap size is 1048576 bytes (1
 MB).
  T9579_outofheap_rtsall: Use `+RTS -M<size>' to increase it.
  251
 \ No newline at end of file
 *** unexpected failure for T9579_outofheap_rtsall(normal)
 }}}

 The issue appears to be a difference in `sed`'s behavior on OS X. The
 number in the error message is supposed to be replaced by `NUM` with `sed
 -e 's/[0-9]* bytes/NUM bytes/g'`. Perhaps someone with access to an OS X
 box could shed some light on this?

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


More information about the ghc-tickets mailing list