Skip to content

Conversation

ychin
Copy link
Member

@ychin ychin commented Jan 19, 2025

This keeps it consistent with other Vim GUIs and prevent unintentional breakages, since we have enabled guioptions-k as default now in MacVim which isn't the case for other platforms.

Also, since MacVim tests are run before Vim GUI tests, there's a possibility that there are stale auto-saved states leftover that interferes with them. Usually they should not matter, but we clean them up anyway to make sure we have a consistent state to run tests from.

@ychin ychin added Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes. labels Jan 19, 2025
@ychin ychin added this to the Release 181 milestone Jan 19, 2025
@ychin
Copy link
Member Author

ychin commented Jan 19, 2025

Seems like there are some occasional CI breakage in the Test_g_ft_man_open_mode test in test_man, which I suspect is due to this. For some reason it's not very consistent and I'm suspecting it has to do with specific window sizes that are leftover from MacVim tests (which are run in random order).

This keeps it consistent with other Vim GUIs and prevent unintentional
breakages, since we have enabled guioptions-k as default now in MacVim
which isn't the case for other platforms.

Also, since MacVim tests are run before Vim GUI tests, there's a
possibility that there are stale auto-saved states leftover that
interferes with them. Usually they should not matter, but we clean them
up anyway to make sure we have a consistent state to run tests from.
@ychin ychin force-pushed the vim-tests-dont-use-guioptions-k branch from 6d94ac2 to 041fc93 Compare January 20, 2025 00:04
@github-actions github-actions bot added the CI Vim upstream label for CI issues label Jan 20, 2025
@ychin ychin changed the title ci: Don't use guioptions-k in Vim tests ci: Don't use guioptions-k in Vim tests, clean up defaults for gui tests Jan 20, 2025
@ychin ychin merged commit c147e0c into macvim-dev:master Jan 20, 2025
4 checks passed
@ychin ychin deleted the vim-tests-dont-use-guioptions-k branch January 20, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Vim upstream label for CI issues Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant