Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(core): add unit tests to validate nul with index and context #13311

Open
wants to merge 1 commit into
base: fix/developer/13301-13302-contextex-offset-check
Choose a base branch
from

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Feb 21, 2025

Add 4 test keyboards to validate nul and if used in conjunction with index and context and corresponding references in core unit tests.

Add a script to rebuild baseline keyboards using a copy of kmcomp.exe 16.0.138; this is setup and tested only on Windows (YMMV on WINE, etc).

Add the 4 additional baseline test keyboards to kmcmplib unit tests for build consistency between kmcomp 16 and kmcmplib 18 (all pass).

Note: two of the new Core tests will fail on this PR. This is expected, see issue #13304. The following PR, #13314, fixes the implementation so that the tests pass.

Fixes: #13303

@keymanapp-test-bot skip

Add 4 test keyboards to validate `nul` and `if` used in conjunction with
`index` and `context` and corresponding references in core unit tests.

Add a script to rebuild baseline keyboards using a copy of kmcomp.exe
16.0.138; this is setup and tested only on Windows (YMMV on WINE, etc).

Add the 4 additional baseline test keyboards to kmcmplib unit tests for
build consistency between kmcomp 16 and kmcmplib 18 (all pass).

Note: two of the new Core tests currently fail. This is expected, see
issue #13304.

Fixes: #13303
Copy link
Contributor

@rc-swag rc-swag left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

chore(core): build unit tests for handling of context() with nul and if() for Keyman Core
4 participants