Skip to content

Commit

Permalink
Merge pull request #10530 from 9999years/no-hide-successes
Browse files Browse the repository at this point in the history
cabal-validate: --no-hide-successes
  • Loading branch information
mergify[bot] authored Nov 22, 2024
2 parents 75cac83 + d311877 commit 2f871db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cabal-validate/src/Cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ resolveOpts opts = do
else "cabal.validate.project"

tastyArgs' =
"--hide-successes"
: maybe
optional (rawTastyHideSuccesses opts) "--hide-successes"
++ maybe
[]
(\tastyPattern -> ["--pattern", tastyPattern])
(rawTastyPattern opts)
Expand Down Expand Up @@ -282,6 +282,7 @@ data RawOpts = RawOpts
, rawExtraCompilers :: [FilePath]
, rawTastyPattern :: Maybe String
, rawTastyArgs :: [String]
, rawTastyHideSuccesses :: Bool
, rawDoctest :: Bool
, rawSteps :: [Step]
, rawListSteps :: Bool
Expand Down Expand Up @@ -352,6 +353,11 @@ rawOptsParser =
<> help "Extra arguments to pass to Tasty test suites"
)
)
<*> boolOption
True
"hide-successes"
( help "Do not print tests that passed successfully"
)
<*> boolOption
False
"doctest"
Expand Down

0 comments on commit 2f871db

Please sign in to comment.