Limit stack size to 1K when running tests
This is to detect space leaks early as described by @ndmitchell at
https://github.com/ndmitchell/spaceleak.
commitdb3389584d69a1b2c57b9aa8f3db998a5a35d557
authorSimon Hengel <sol@typeful.net>
dateMon 27 Aug 2018, 18:26 (8 years ago)
parent77c945c
package.yaml+1−1
@@ -127,7 +127,7 @@ tests:
127127 spec:
128128 main: Spec.hs
129129 source-dirs: test
130− ghc-options: -Wall
130+ ghc-options: -Wall "-with-rtsopts=-K1K"
131131 cpp-options: -DTEST
132132 dependencies:
133133 - hspec >=1.3