diff --git a/ChangeLog.md b/ChangeLog.md index 79a7aee506..a528d00f4e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -215,6 +215,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: diff --git a/src/Stack/Options/TestParser.hs b/src/Stack/Options/TestParser.hs index 20e8cf9ad9..144c7b9db0 100644 --- a/src/Stack/Options/TestParser.hs +++ b/src/Stack/Options/TestParser.hs @@ -18,8 +18,8 @@ testOptsParser hide0 = "running already successful tests" hide <*> fmap - (fromMaybe []) - (optional + concat + (many (argsOption (long "test-arguments" <> long "ta" <>