haskell-language-server: Disable flaky tests for some plugins

This commit is contained in:
Malte Brandy 2022-02-06 19:14:21 +01:00
parent 62580dc6fb
commit 3302c41f7f
2 changed files with 8 additions and 3 deletions

View File

@ -96,6 +96,9 @@ self: super: {
hls-call-hierarchy-plugin = dontCheck super.hls-call-hierarchy-plugin;
hls-module-name-plugin = dontCheck super.hls-module-name-plugin;
hls-brittany-plugin = dontCheck super.hls-brittany-plugin;
hls-qualify-imported-names-plugin = dontCheck super.hls-qualify-imported-names-plugin;
hls-class-plugin = dontCheck super.hls-class-plugin;
hls-selection-range-plugin = dontCheck super.hls-selection-range-plugin;
# Similar RTS issue in test suite:
# rts/linker/elf_reloc_aarch64.c:98: encodeAddendAarch64: Assertion `isInt64(21+12, addend)' failed.

View File

@ -984,22 +984,24 @@ self: super: builtins.intersectAttrs super {
}))
{
inherit (super)
hls-alternate-number-format-plugin
hls-brittany-plugin
hls-call-hierarchy-plugin
hls-class-plugin
hls-eval-plugin
hls-floskell-plugin
hls-fourmolu-plugin
hls-haddock-comments-plugin
hls-module-name-plugin
hls-ormolu-plugin
hls-pragmas-plugin
hls-qualify-imported-names-plugin
hls-rename-plugin
hls-selection-range-plugin
hls-splice-plugin;
# Tests have file permissions expections that dont work with the nix store.
hls-stylish-haskell-plugin = dontCheck super.hls-stylish-haskell-plugin;
# Flaky tests
hls-hlint-plugin = dontCheck super.hls-hlint-plugin;
hls-alternate-number-format-plugin = dontCheck super.hls-alternate-number-format-plugin;
hls-qualify-imported-names-plugin = dontCheck super.hls-qualify-imported-names-plugin;
hls-haddock-comments-plugin = dontCheck super.hls-haddock-comments-plugin;
}