From 89726007b7dc1d00d498741bd9e8cecaf4a97bd2 Mon Sep 17 00:00:00 2001 From: Michael Peyton Jones Date: Sun, 27 Aug 2023 12:35:09 +0100 Subject: [PATCH] Try making more test suites threaded --- lsp-test/lsp-test.cabal | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lsp-test/lsp-test.cabal b/lsp-test/lsp-test.cabal index 143d1ab9..e73acda2 100644 --- a/lsp-test/lsp-test.cabal +++ b/lsp-test/lsp-test.cabal @@ -93,8 +93,7 @@ test-suite tests hs-source-dirs: test main-is: Test.hs default-language: Haskell2010 - default-extensions: ImportQualifiedPost - ghc-options: -W + ghc-options: -W -threaded -rtsopts -with-rtsopts=-N other-modules: DummyServer build-depends: , aeson @@ -120,6 +119,7 @@ test-suite func-test default-language: Haskell2010 default-extensions: ImportQualifiedPost main-is: FuncTest.hs + ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: , base , co-log-core @@ -138,6 +138,7 @@ test-suite example default-language: Haskell2010 default-extensions: ImportQualifiedPost main-is: Test.hs + ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: , base , lsp-test @@ -150,7 +151,7 @@ benchmark simple-bench default-language: Haskell2010 default-extensions: ImportQualifiedPost main-is: SimpleBench.hs - ghc-options: -Wall -O2 -eventlog -rtsopts + ghc-options: -Wall -O2 -eventlog -threaded -rtsopts -with-rtsopts=-N build-depends: , base , extra