diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-27 14:22:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-27 14:22:44 -0400 |
commit | b1eef1745c8fe5c2f8f2bf87573b1bd8eeb805df (patch) | |
tree | 33e89c16f09f055eca780e24ea39327acfc18b05 /Test.hs | |
parent | 74cefaddba9e4613b614b0d7a9613f12ba6f4ba8 (diff) |
Revert "temporarily revert tasty-rerun support for this release"
This reverts commit 65eb61a902ecf68da69d774063fea4880f619a13.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -13,6 +13,7 @@ import Test.Tasty import Test.Tasty.Runners import Test.Tasty.HUnit import Test.Tasty.QuickCheck +import Test.Tasty.Ingredients.Rerun import Data.Monoid import Options.Applicative hiding (command) @@ -106,7 +107,7 @@ main ps = do ingredients :: [Ingredient] ingredients = - [ consoleTestReporter + [ rerunningTests [consoleTestReporter] , listingTests ] @@ -1269,7 +1270,7 @@ withTestEnv forcedirect = withResource prepare release where prepare = do env <- prepareTestEnv forcedirect - case tryIngredients ingredients mempty (initTests env) of + case tryIngredients [consoleTestReporter] mempty (initTests env) of Nothing -> error "No tests found!?" Just act -> unlessM act $ error "init tests failed! cannot continue" |