Skip to content

Commit 7d636f1

Browse files
committed
http-proxy.cabal: Limit heap and stack for tests
1 parent 35a5fd7 commit 7d636f1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

http-proxy.cabal

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stability: Experimental
1313

1414
synopsis: A library for writing HTTP and HTTPS proxies
1515

16+
source-repository head
17+
type: git
18+
location: https://github.com/erikd/http-proxy.git
19+
1620
description:
1721
http-proxy is a library for writing HTTP and HTTPS proxies.
1822
.
@@ -61,7 +65,7 @@ library
6165

6266
test-suite test
6367
type: exitcode-stdio-1.0
64-
ghc-options: -Wall -fwarn-tabs -threaded
68+
ghc-options: -Wall -fwarn-tabs -threaded -rtsopts "-with-rtsopts=-H1m -K1m"
6569
if os(windows)
6670
cpp-options: -DWINDOWS
6771
default-language: Haskell2010
@@ -102,7 +106,7 @@ test-suite test
102106

103107
test-suite test-io
104108
type: exitcode-stdio-1.0
105-
ghc-options: -Wall -fwarn-tabs -threaded
109+
ghc-options: -Wall -fwarn-tabs -threaded -rtsopts "-with-rtsopts=-H1m -K1m"
106110
if os(windows)
107111
cpp-options: -DWINDOWS
108112
default-language: Haskell2010
@@ -140,9 +144,3 @@ test-suite test-io
140144
, wai-conduit
141145
, warp
142146
, warp-tls
143-
144-
145-
146-
source-repository head
147-
type: git
148-
location: https://github.com/erikd/http-proxy.git

0 commit comments

Comments
 (0)