Skip to content

Commit 43220a0

Browse files
committed
Do not send stderr output to a file in func-tests
Stderr output is very useful to diagnose test failures when interleaved with the LSP log. Sending it to a file disrupts this interleaving and makes it harder to retrieve from CI
1 parent 4a17518 commit 43220a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/Test/Hls/Command.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ hlsCommand :: String
2323
{-# NOINLINE hlsCommand #-}
2424
hlsCommand = unsafePerformIO $ do
2525
testExe <- fromMaybe "haskell-language-server" <$> lookupEnv "HLS_TEST_EXE"
26-
pure $ testExe ++ " --lsp -d -j4 -l test-logs/" ++ logFilePath
26+
pure $ testExe ++ " --lsp -d -j4"
2727

2828
hlsCommandVomit :: String
2929
hlsCommandVomit = hlsCommand ++ " --vomit"

0 commit comments

Comments
 (0)