Skip to content

Commit e6e8786

Browse files
committed
Switch ghcide tests to sequential execution
1 parent 87b4d95 commit e6e8786

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ghcide/test/exe/Main.hs

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module Main (main) where
3333
import qualified HieDbRetry
3434
import Test.Tasty
3535
import Test.Tasty.Ingredients.Rerun
36+
import Test.Tasty.Runners
3637

3738
import AsyncTests
3839
import BootTests
@@ -68,7 +69,7 @@ import WatchedFileTests
6869
main :: IO ()
6970
main = do
7071
-- We mess with env vars so run single-threaded.
71-
defaultMainWithRerun $ testGroup "ghcide"
72+
defaultMainWithRerun $ PlusTestOptions mkSequential $ testGroup "ghcide"
7273
[ OpenCloseTest.tests
7374
, InitializeResponseTests.tests
7475
, CompletionTests.tests
@@ -100,3 +101,6 @@ main = do
100101
, HieDbRetry.tests
101102
, ExceptionTests.tests
102103
]
104+
where
105+
PlusTestOptions mkSequential _ =sequentialTestGroup "foo" AllFinish []
106+

0 commit comments

Comments
 (0)