[GHC] #10345: Testsuite timeout_multiplier setting does not work as expected
GHC
ghc-devs at haskell.org
Fri Jun 12 07:18:24 UTC 2015
#10345: Testsuite timeout_multiplier setting does not work as expected
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Other | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by thomie):
Sorry, the one in Haskell doesn't compile at the moment, I forgot. You
need this patch:
{{{
commit c5759a04c73de36f94bb7239f9ead91f8741e6af
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Fri May 29 20:37:29 2015 +0200
Testsuite: fix timeout.hs
diff --git a/testsuite/timeout/timeout.hs b/testsuite/timeout/timeout.hs
index f78baa1..d75e13c 100644
--- a/testsuite/timeout/timeout.hs
+++ b/testsuite/timeout/timeout.hs
@@ -65,7 +65,7 @@ run secs cmd = do
killProcess pid
exitWith (ExitFailure 99)
Just (Exited r) -> exitWith r
- Just (Terminated s) -> raiseSignal s
+ Just (Terminated s _) -> raiseSignal s
Just _ -> exitWith (ExitFailure 1)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10345#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list