From fa8498562e600adc839bacb7444fd7c502b6672a Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sat, 11 Jul 2020 14:27:01 +0100 Subject: [PATCH] Try again with one thread --- test/functional/Main.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/functional/Main.hs b/test/functional/Main.hs index 328a0e502f2..ccc278d5fb2 100644 --- a/test/functional/Main.hs +++ b/test/functional/Main.hs @@ -21,17 +21,19 @@ import Progress import Reference import Rename import Symbol +import System.Environment import TypeDefinition main :: IO () -main = +main = do + setEnv "TASTY_NUM_THREADS" "1" -- ingredient: xml runner writes json file of test results (https://github.com/ocharles/tasty-ant-xml/blob/master/Test/Tasty/Runners/AntXML.hs) -- rerunningTests allow rerun of failed tests (https://github.com/ocharles/tasty-rerun/blob/master/src/Test/Tasty/Ingredients/Rerun.hs) defaultMainWithIngredients [ antXMLRunner , rerunningTests [ listingTests, consoleTestReporter ] ] - $ testGroup "haskell-language-server" [ + $ testGroup "haskell-language-server" [ Command.tests , Completion.tests , Deferred.tests