tasty 0.11.2.4 → 0.11.2.5
raw patch · 3 files changed
+14/−4 lines, 3 filesdep ~basedep ~mtl
Dependency ranges changed: base, mtl
Files
- CHANGELOG.md +5/−0
- Test/Tasty/CmdLine.hs +8/−3
- tasty.cabal +1/−1
CHANGELOG.md view
@@ -1,6 +1,11 @@ Changes ======= +Version 0.11.2.5+----------------++Fix compatibility with GHC 7.4+ Version 0.11.2.4 ----------------
Test/Tasty/CmdLine.hs view
@@ -15,8 +15,13 @@ import System.Exit import System.IO --- for installSignalHandlers-#ifdef UNIX+-- We install handlers only on UNIX (obviously) and on GHC >= 7.6.+-- GHC 7.4 lacks mkWeakThreadId (see #181), and this is not important+-- enough to look for an alternative implementation, so we just disable it+-- there.+#define INSTALL_HANDLERS defined UNIX && MIN_VERSION_base(4,6,0)++#if INSTALL_HANDLERS import Control.Concurrent (mkWeakThreadId, myThreadId) import Control.Exception (Exception(..), throwTo) import Control.Monad (forM_)@@ -76,7 +81,7 @@ -- suite is killed by SIGTERM. installSignalHandlers :: IO () installSignalHandlers = do-#ifdef UNIX+#if INSTALL_HANDLERS main_thread_id <- myThreadId weak_tid <- mkWeakThreadId main_thread_id forM_ [ sigABRT, sigBUS, sigFPE, sigHUP, sigILL, sigQUIT, sigSEGV,
tasty.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: tasty-version: 0.11.2.4+version: 0.11.2.5 synopsis: Modern and extensible testing framework description: Tasty is a modern testing framework for Haskell. It lets you combine your unit tests, golden