
On Fri, Nov 12, 2004 at 05:41:47PM +0000, Ian Lynagh wrote:
On Fri, Nov 12, 2004 at 04:39:20PM +0000, Ross Paterson wrote:
The timeout patch also makes several tests GHC-only; perhaps it could be wrapped up somehow. (Not that Hugs doesn't need a timeout sometimes.)
Do you mean http://www.haskell.org//pipermail/cvs-ghc/2004-October/022166.html ?
Sorry, I was talking about watchdog snippets like this in various tests: main_t <- myThreadId forkIO $ do threadDelay 2000000 throwTo main_t (ErrorCall "killed") which I confused with the title of your patch, when actually your patch is exactly the replacement for these that I was asking for.
And while I'm here, this work is really cool! What would be even better from my PoV is if we made sure the testsuite had no unexpected failures or passes for the last 2 or 3 releases of the implementations. This might need a slightly more flexible extension of the per-implementation stuff you've added.
It would be nice, but just getting the latest version to pass is more than we can manage at present. (I currently have 124 unexpected failures, though lots of these are due to not handling the FFI.)