validate breaks!

Simon Marlow simonmarhaskell at gmail.com
Thu Nov 15 05:16:43 EST 2007


Claus Reinke wrote:

>>> btw, i've never seen a clean validate run on my system (win/xp), as  
>>> ThreadDelay001(normal) fails consistently.
>>
>> Can you fix that or anybody else who uses that platform?  (I am 
>> making  an effort to hunt down all Mac OS X breakages that I find.  
>> For every  platform, we need somebody to do that.)
> 
> as far i can tell, assuming that this kind of test succeeds
> assumes certain minimal timing differences, which will
> always be fragile with evolving hardware. and since no other test 
> breaks, that assumption doesn't seem to be neccessary, either.

ThreadDelay is a perfectly reasonable test: it tests that threadDelay 
doesn't wait for *less* time than was requested.  Clearly something is 
wrong on your machine with either threadDelay or the way time is measured, 
but we haven't seen the same symptoms elsewhere so it's hard to diagnose. 
Still, we should try to investigate at some point.

Cheers,
	Simon



More information about the Cvs-ghc mailing list