[GHC] #4440: time004 fails depending on the date

GHC cvs-ghc at haskell.org
Mon Oct 25 15:30:31 EDT 2010


#4440: time004 fails depending on the date
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |       Owner:              
        Type:  bug                |      Status:  new         
    Priority:  normal             |   Component:  Test Suite  
     Version:  7.1                |    Keywords:              
    Testcase:                     |   Blockedby:              
          Os:  Unknown/Multiple   |    Blocking:              
Architecture:  Unknown/Multiple   |     Failure:  None/Unknown
----------------------------------+-----------------------------------------
 Since the change between DST and reasonable time does not take place on a
 fixed date, the same date may be DST in one year but not the next (or
 previous). The Show instance for !ClockTime takes DST into account, so the
 length of the display String can differ by one, giving raise to a spurious
 unexpected failure in the testsuite.

 Is the test important or could it be removed?

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


More information about the Glasgow-haskell-bugs mailing list