Repository navigation
Enable test suite in Windows, marking failing tests as broken - #821
Conversation
ndmitchell
left a comment
There was a problem hiding this comment.
Great work! Would be good to have a ticket tracking the disabled windows tests, so we don't forget them.
| ) | ||
| ] | ||
|
|
||
| pluginParsedResultTests :: TestTree |
There was a problem hiding this comment.
Worth linting about trailing whitespace on lines? Such additional noise in diffs is a pain.
There was a problem hiding this comment.
I had to install the vscode plugin that make it honour the already existing .editorconfig, it removed the existing trailing whitespace
There was a problem hiding this comment.
Yeah, super annoying VS Code doesn't do that by default :(
|
yeah, the plan is tracking them in #474 |
|
Will make an LSP-test release tonight |
|
lsp-test-0.11.0.6 should be up on hackage now! |
|
/azp run |
|
Pull request contains merge conflicts. |
|
In
|
|
|
|
I am inclined to run tests only for ghc-8.6.5 (it is the recommended version for windows) until i resolve the remaining errors, cause i would like to focus in other tasks (like hlint plugin). |
|
I'd be inclined to add knownBrokenInWindowsForGHC10 etc and still run the test suite. In fact, I'd be ok with just slapping knownBrokenForWindows alone on everything that breaks in any Windows. It gives us a good base on which to build. |
🤔 |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Ok the "parsedResultAction plugin" test is a little bit problematic: So no way 😟 Lines 2290 to 2303 in ceb9eb7 |
|
However, dont know why ghc-8.10.1 throws: maybe the test only works for ghc-8.10.2? or is it a specific bug for windows? |
|
That HasField one seems super weird. It seems to be saying it's there. I guess its omitting package info? Or we screwed up the package table somehow? |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
In my local windows the error with ghc-8.10.1 is So i guess to have record-dot-preprocessor is a requirement to run that test. However it is not installed in the azure script. 🤔 After installing record-dot-preprocessor the test passes in my local win 10 consistently 🤷 The ci is green in my pipeline too: https://dev.azure.com/jneira/haskell-language-server/_build?definitionId=4&_a=summary |
|
Finally i had to ignore plugin tests for ghc > 8.8.4 (they still are being executed in 8.6.5). They need a more in deep investigation. |
|
Awesome work! My experience is that plugins in GHC on Windows are pretty broken. I actually develop record-dot-preprocessor on Windows, but only test it on Linux, since otherwise things segfault randomly. |
…skell/ghcide#821) * Enable tests in windows ci * Use lsp-test-0.11.0.6 * Fix tests in windows * Use chocolatey to install cabal in ci * Fix test: type constructor external * Fix test: non workspace file * Mark cpp-error as ignored for windows * Ignore plugin tests for windows
…skell/ghcide#821) * Enable tests in windows ci * Use lsp-test-0.11.0.6 * Fix tests in windows * Use chocolatey to install cabal in ci * Fix test: type constructor external * Fix test: non workspace file * Mark cpp-error as ignored for windows * Ignore plugin tests for windows
…skell/ghcide#821) * Enable tests in windows ci * Use lsp-test-0.11.0.6 * Fix tests in windows * Use chocolatey to install cabal in ci * Fix test: type constructor external * Fix test: non workspace file * Mark cpp-error as ignored for windows * Ignore plugin tests for windows
knownBrokenInWindowsuntil they get fixed: see #474lsp-testhackage release with the fix to avoid hangs in windows (/cc @bubba)