Revert "temporarily revert tasty-rerun support for this release"
This reverts commit 8fcf041159
.
This commit is contained in:
parent
8d34c1ba66
commit
998d76ae04
5 changed files with 10 additions and 4 deletions
5
Test.hs
5
Test.hs
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue