Skip to content

Commit

Permalink
Merge pull request #4748 from commercialhaskell/2226-multiple-test-ar…
Browse files Browse the repository at this point in the history
…guments

Allow multiple --test-arguments to be passed (fixes #2226)
  • Loading branch information
snoyberg authored Apr 16, 2019
2 parents 428f66f + 45ded48 commit fa88229
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ Other enhancements:
new-build`. See
[#4706](https://github.com/commercialhaskell/stack/issues/4706).
* Use a database cache table to speed up discovery of installed GHCs
* You can specify multiple `--test-arguments` options. See
[#2226](https://github.com/commercialhaskell/stack/issues/2226)

Bug fixes:

Expand Down
4 changes: 2 additions & 2 deletions src/Stack/Options/TestParser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ testOptsParser hide0 =
"running already successful tests"
hide
<*> fmap
(fromMaybe [])
(optional
concat
(many
(argsOption
(long "test-arguments" <>
long "ta" <>
Expand Down

0 comments on commit fa88229

Please sign in to comment.