Skip to content

Conversation

@ychin
Copy link
Member

@ychin ychin commented Oct 30, 2025

Up till macOS 13, the default terminal does not properly advertise it supports italics, and Vim just silently replaces it with the "reverse" effect. Revently, a test in test_popup (Test_popup_shadow_hiddenchar) was added and the test dumps assume italics support. Add checks to skip this test if we detect that italics is not supported to avoid failing the screen dump tests.

Note that macos-13 is being sunset by GitHub Actions, but we still use a self-hosted version of it to make legacy builds.

Note that due to MacVim silently passing all flaky tests currently, this test wasn't breaking CI anyway, but it did slow it down due to test retries, and we do want to go back to not silently passing flaky tests in near future.

@ychin ychin added this to the Release 182 milestone Oct 30, 2025
@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 Oct 30, 2025
Up till macOS 13, the default terminal does not properly advertise it
supports italics, and Vim just silently replaces it with the "reverse"
effect. Revently, a test in test_popup (Test_popup_shadow_hiddenchar)
was added and the test dumps assume italics support. Add checks to skip
this test if we detect that italics is not supported to avoid failing
the screen dump tests.

Note that macos-13 is being sunset by GitHub Actions, but we still use a
self-hosted version of it to make legacy builds.

Note that due to MacVim silently passing all flaky tests currently, this
test wasn't breaking CI anyway, but it did slow it down due to test
retries, and we do want to go back to not silently passing flaky tests
in near future.
@ychin ychin force-pushed the fix-test-popup-italics-macos-13 branch from 2d674d0 to 0b0f598 Compare October 30, 2025 06:52
@ychin ychin changed the title Fix test popup italics macos 13 ci: Fix test_popup failing on macos-13 due to lack of italics support Oct 30, 2025
@ychin ychin enabled auto-merge October 30, 2025 06:53
@ychin ychin merged commit 91e24d4 into macvim-dev:master Oct 30, 2025
5 checks passed
@ychin ychin deleted the fix-test-popup-italics-macos-13 branch October 30, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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