Skip to content

Commit

Permalink
Switch ghcide tests to sequential execution
Browse files Browse the repository at this point in the history
  • Loading branch information
dyniec committed Jun 10, 2024
1 parent efe8913 commit c82cb75
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ghcide/test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -100,3 +101,6 @@ main = do
, HieDbRetry.tests
, ExceptionTests.tests
]
where
PlusTestOptions mkSequential _ =sequentialTestGroup "foo" AllFinish []

0 comments on commit c82cb75

Please sign in to comment.