Skip to content

[fea-rs] Check warnings in compile tests - #2232

Open
cmyr wants to merge 1 commit into
mainfrom
worktree-fea-rs-test-warnings
Open

cmyr wants to merge 1 commit into
mainfrom
worktree-fea-rs-test-warnings

Conversation

@cmyr

@cmyr cmyr commented Oct 9, 2026

Copy link
Copy Markdown
Member

I want to have a way for our existing tests to also test that we are printing warnings where expected.

Our good compile tests only compared ttx output, so there was no way to
test a warning on a successful compile.

With this patch, the warnings from each good case (and each fonttools
test) are compared against a .WARN file next to it; a case without one
must compile without warnings. FEA_WRITE_TEST_OUTPUT regenerates them.
This adds .WARN files for the six existing cases that warn.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant