Skip to content

Commit 8972600

Browse files
committed
Try making more test suites threaded
1 parent fe620f1 commit 8972600

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lsp-test/lsp-test.cabal

+4-3
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ test-suite tests
9393
hs-source-dirs: test
9494
main-is: Test.hs
9595
default-language: Haskell2010
96-
default-extensions: ImportQualifiedPost
97-
ghc-options: -W
96+
ghc-options: -W -threaded -rtsopts -with-rtsopts=-N
9897
other-modules: DummyServer
9998
build-depends:
10099
, aeson
@@ -120,6 +119,7 @@ test-suite func-test
120119
default-language: Haskell2010
121120
default-extensions: ImportQualifiedPost
122121
main-is: FuncTest.hs
122+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
123123
build-depends:
124124
, base
125125
, co-log-core
@@ -138,6 +138,7 @@ test-suite example
138138
default-language: Haskell2010
139139
default-extensions: ImportQualifiedPost
140140
main-is: Test.hs
141+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
141142
build-depends:
142143
, base
143144
, lsp-test
@@ -150,7 +151,7 @@ benchmark simple-bench
150151
default-language: Haskell2010
151152
default-extensions: ImportQualifiedPost
152153
main-is: SimpleBench.hs
153-
ghc-options: -Wall -O2 -eventlog -rtsopts
154+
ghc-options: -Wall -O2 -eventlog -threaded -rtsopts -with-rtsopts=-N
154155
build-depends:
155156
, base
156157
, extra

0 commit comments

Comments
 (0)