mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Switch ghcide tests to sequential execution
This commit is contained in:
parent
efe89133b1
commit
c82cb757c1
@ -33,6 +33,7 @@ module Main (main) where
|
||||
import qualified HieDbRetry
|
||||
import Test.Tasty
|
||||
import Test.Tasty.Ingredients.Rerun
|
||||
import Test.Tasty.Runners
|
||||
|
||||
import AsyncTests
|
||||
import BootTests
|
||||
@ -68,7 +69,7 @@ import WatchedFileTests
|
||||
main :: IO ()
|
||||
main = do
|
||||
-- We mess with env vars so run single-threaded.
|
||||
defaultMainWithRerun $ testGroup "ghcide"
|
||||
defaultMainWithRerun $ PlusTestOptions mkSequential $ testGroup "ghcide"
|
||||
[ OpenCloseTest.tests
|
||||
, InitializeResponseTests.tests
|
||||
, CompletionTests.tests
|
||||
@ -100,3 +101,6 @@ main = do
|
||||
, HieDbRetry.tests
|
||||
, ExceptionTests.tests
|
||||
]
|
||||
where
|
||||
PlusTestOptions mkSequential _ =sequentialTestGroup "foo" AllFinish []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user