test: Added --keep-failures option.

This commit is contained in:
Joey Hess 2016-01-06 13:44:12 -04:00
parent b96cfdc094
commit d667a68b7e
Failed to extract signature
5 changed files with 54 additions and 22 deletions

View file

@ -14,7 +14,14 @@ import Test.Tasty.Options
#endif
#ifdef WITH_TESTSUITE
type TestOptions = OptionSet
data TestOptions = TestOptions
{ tastyOptionSet :: OptionSet
, keepFailuresOption :: Bool
}
instance Monoid TestOptions where
mempty = TestOptions mempty False
#else
type TestOptions = ()
#endif