[GHC] #7379: rangeTest test fails on Windows

GHC cvs-ghc at haskell.org
Fri Nov 16 20:15:57 CET 2012


#7379: rangeTest test fails on Windows
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  libraries/random  |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by joeyadams):

 Here are the problematic lines:

 {{{
 checkBounds "CWchar"     (intRange 32)  (approxBounds random trials
 (undefined:: CWchar))
 checkBounds "CSigAtomic" (intRange 32)  (approxBounds random trials
 (undefined:: CWchar))
 ...
 checkBounds "CWchar R"     (False,-100,100)  (approxBounds (randomR
 (-100,100)) trials (undefined:: CWchar))
 checkBounds "CSigAtomic R" (False,-100,100)  (approxBounds (randomR
 (-100,100)) trials (undefined:: CWchar))
 }}}

 Also, it says `undefined:: CWchar` for both `CWchar` and `CSigAtomic`.  Is
 this a typo?

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



More information about the Glasgow-haskell-bugs mailing list