Skip to content

fix neovim tests#343769

Merged
teto merged 3 commits intoNixOS:masterfrom
teto:teto/fix-neovim-tests
Sep 23, 2024
Merged

fix neovim tests#343769
teto merged 3 commits intoNixOS:masterfrom
teto:teto/fix-neovim-tests

Conversation

@teto
Copy link
Member

@teto teto commented Sep 22, 2024

  • neovim.tests.nvim_with_ftplugin: fix the test
  • neovim.tests.can_require_transitive_deps: fix running
  • neovim.tests: minor improvements

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

my previous "fix" broke the test, this restores it.
it would hang without ever exiting neovim
@teto teto requested a review from figsoda as a code owner September 22, 2024 17:44
@teto teto changed the title teto/fix neovim tests fix neovim tests Sep 22, 2024
@github-actions github-actions bot added the 6.topic: vim Advanced text editor label Sep 22, 2024
@teto teto requested review from GaetanLepage and removed request for figsoda September 22, 2024 17:44
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 22, 2024
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me at a first glance.

- factorize the export HOME in runTest
- adjust suffix for nvim-with-luasnip (it was misleading)
- make 'checkAliases' check for executable bit as well
- expose nmt because it's more convenient to find its store path
@teto teto force-pushed the teto/fix-neovim-tests branch from f1e13dc to 0fc790f Compare September 22, 2024 23:12
@teto teto merged commit eae2c94 into NixOS:master Sep 23, 2024
@teto teto deleted the teto/fix-neovim-tests branch September 23, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: vim Advanced text editor 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants