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

feat(developer): generator from regression to JSON format 🙀 #13098

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Jan 30, 2025

This adds a command to kmc as below:

kmc build ldml-regression-test --keyboard experimental/k/khmer_ldml/source/khmer_ldml.xml release/k/khmer_angkor/extras/regression_tests/

The command generates experimental/k/khmer_ldml/source/khmer_ldml-test.json in the same format as the kmc build ldml-test-data command outputs, and which the ldml unit test reads.

The user then can rename that file to experimental/k/khmer_ldml/build/khmer_ldml-test.json (because, the test file must be colocated with the .kmx) and then the ldml tool can be used to execute it as a unit test.

For: #10192

@keymanapp-test-bot skip

…rmat into .json

- reads the regression test format such as the khmer_angkor keyboard has
- outputs into the -test.json format which is read by the 'ldml' unit test case

#10192
@srl295 srl295 requested a review from Nnyny January 30, 2025 20:42
@keymanapp-test-bot keymanapp-test-bot bot added the user-test-missing User tests have not yet been defined for the PR label Jan 30, 2025
@srl295 srl295 self-assigned this Jan 30, 2025
@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S20 milestone Jan 30, 2025
@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-missing User tests have not yet been defined for the PR label Jan 30, 2025
@darcywong00 darcywong00 modified the milestones: A18S20, B18S1 Feb 1, 2025
@darcywong00 darcywong00 modified the milestones: B18S1, B18S2 Feb 15, 2025
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.

3 participants