Skip to content

Commit 0bafe34

Browse files
committed
Try making more test suites threaded
1 parent ad69ecf commit 0bafe34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lsp-test/lsp-test.cabal

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ test-suite tests
9292
hs-source-dirs: test
9393
main-is: Test.hs
9494
default-language: Haskell2010
95-
ghc-options: -W
95+
ghc-options: -W -threaded -rtsopts -with-rtsopts=-N
9696
other-modules: DummyServer
9797
build-depends:
9898
, aeson
@@ -117,6 +117,7 @@ test-suite func-test
117117
hs-source-dirs: func-test
118118
default-language: Haskell2010
119119
main-is: FuncTest.hs
120+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
120121
build-depends:
121122
, base
122123
, co-log-core
@@ -134,6 +135,7 @@ test-suite example
134135
hs-source-dirs: example
135136
default-language: Haskell2010
136137
main-is: Test.hs
138+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
137139
build-depends:
138140
, base
139141
, lsp-test
@@ -145,7 +147,7 @@ benchmark simple-bench
145147
hs-source-dirs: bench
146148
default-language: Haskell2010
147149
main-is: SimpleBench.hs
148-
ghc-options: -Wall -O2 -eventlog -rtsopts
150+
ghc-options: -Wall -O2 -eventlog -threaded -rtsopts -with-rtsopts=-N
149151
build-depends:
150152
, base
151153
, extra

0 commit comments

Comments
 (0)