Skip to content

[Migrate diagnosticTests] part of #4173 Migrate ghcide tests to hls test utils #4207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
361131e
migrate diagnosticTests
soulomoon May 4, 2024
fa0e4de
Merge branch 'master' into soulomoon/update-ghcide-tests-hls-test-uti…
soulomoon May 9, 2024
ef077d2
add test no kick to hls-test-utils
soulomoon May 9, 2024
cc7d3cb
clean up ghcide config
soulomoon May 9, 2024
b887243
use fs
soulomoon May 9, 2024
158caa9
reduce write file
soulomoon May 9, 2024
56195f5
fix up
soulomoon May 10, 2024
b8c6ca9
fix ide log
soulomoon May 10, 2024
46b5f04
fix
soulomoon May 10, 2024
1554f87
Update ghcide/src/Development/IDE/Main.hs
soulomoon May 10, 2024
4388ac0
Update ghcide/test/exe/DiagnosticTests.hs
soulomoon May 10, 2024
f6a7f48
Update hls-test-utils/src/Test/Hls.hs
soulomoon May 10, 2024
aee5c53
Update plugins/hls-refactor-plugin/test/Main.hs
soulomoon May 10, 2024
8aa41f3
Update plugins/hls-refactor-plugin/test/Main.hs
soulomoon May 10, 2024
7d22fb7
Update ghcide/test/exe/DiagnosticTests.hs
soulomoon May 10, 2024
cfd3f53
update recorder
soulomoon May 10, 2024
d40c643
fix
soulomoon May 10, 2024
a03aa22
cleanup
soulomoon May 10, 2024
e2a50f2
Merge branch 'master' into soulomoon/update-ghcide-tests-hls-test-uti…
soulomoon May 10, 2024
5ffbf2f
Merge branch 'master' into soulomoon/update-ghcide-tests-hls-test-uti…
soulomoon May 10, 2024
c8aa5ca
fix
soulomoon May 11, 2024
1f7f49f
Merge branch 'master' into soulomoon/update-ghcide-tests-hls-test-uti…
soulomoon May 12, 2024
d08228d
nitpick
soulomoon May 12, 2024
354854e
Update hls-test-utils/src/Test/Hls.hs
soulomoon May 12, 2024
726a88d
add variable
soulomoon May 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update hls-test-utils/src/Test/Hls.hs
Co-authored-by: fendor <fendor@users.noreply.github.com>
  • Loading branch information
soulomoon and fendor authored May 10, 2024
commit f6a7f48f095a46a2e9b394279ee68f99e521f26c
8 changes: 6 additions & 2 deletions hls-test-utils/src/Test/Hls.hs
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,12 @@ mkPluginTestDescriptor'
mkPluginTestDescriptor' pluginDesc plId _recorder = IdePlugins [pluginDesc plId]

-- | Initialise a recorder that can be instructed to write to stderr by
-- setting the environment variable "HLS_TEST_PLUGIN_LOG_STDERR|LSP_TEST_LOG_STDERR
-- |LSP_TEST_LOG_STDERR|HLS_TEST_LOG_STDERR=1" before running the tests.
-- setting one of the environment variables:
--
-- * HLS_TEST_PLUGIN_LOG_STDERR=1
-- * HLS_TEST_LOG_STDERR=1
--
-- before running the tests.
--
-- Because "LSP_TEST_LOG_STDERR" has been used before,
-- (thus, backwards compatibility) and "HLS_TEST_HARNESS_STDERR" because it
Expand Down