-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
test(core): verify Unicode and ICU versions cross-platform 🙀 #11418
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
Example output
|
So linux is using ICU from the environment, which only supports Unicode 14 not 15.
|
c7b51ba
to
d3f8e07
Compare
I'm going to take out the assert for the cxx_icu version, for now. |
all working but wasm |
- load version data from node.js, Blocks.txt, and ICU4C - support wasm: copy package.json, nodeversions.json and Blocks.txt into the keyboard area so that they can be mounted under wasm also: - rename 'fallback' macro to KMN_FALLBACK to not conflict with hedley in utfcodec.hpp - fix ambiguous path type in tests Fixes: #10183
490b510
to
e5ee26a
Compare
OK ptal, web unrelated? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, just small nits
core/tests/unit/ldml/meson.build
Outdated
# Build ldml test executable | ||
|
||
keyboard_build_path = join_paths(meson.current_build_dir(),'keyboards') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keyboard_build_path = join_paths(meson.current_build_dir(),'keyboards') | |
keyboard_build_path = meson.current_build_dir() / 'keyboards' |
It's cleaner to use /
now in meson path construction
core/tests/unit/ldml/meson.build
Outdated
@@ -94,14 +120,34 @@ if cpp_compiler.get_id() == 'emscripten' | |||
normalization_tests_flags += ['-lnodefs.js', '-sEXPORTED_RUNTIME_METHODS=[\'UTF8ToString\']'] | |||
endif | |||
|
|||
t = executable('test_context_normalization', | |||
tc = executable('test_context_normalization', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tc = executable('test_context_normalization', | |
test_context_normalization = executable('test_context_normalization', |
Can we use the full process name as the variable name? Makes future maintenance so much easier
core/tests/unit/ldml/meson.build
Outdated
|
||
# Build and run additional test_unicode test | ||
|
||
u = executable('test_unicode', 'test_unicode.cpp', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
u = executable('test_unicode', 'test_unicode.cpp', | |
test_unicode = executable('test_unicode', 'test_unicode.cpp', |
Ditto
Fixes: #10183 Co-authored-by: Marc Durdin <[email protected]>
@ermshiperete the API Verification build is failing, any ideas why? Log is inconclusive. |
Ignore the API Verification for now. I thought it would work, but I must be overlooking something and it's still not working. I'll add a step to always greenbar until that's solved. Sorry for the noise. |
I'm wondering if it would be better to change the order of the output so that all ICU versions are together, all Unicode versions are together etc. ? That way it would be easier to spot which versions should be the same. |
Good idea. Maybe with some explanatory text, even. I think I'll do this as a separate PR since this stack is getting longer. |
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
|
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
5 similar comments
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
Changes in this pull request will be available for download in Keyman version 18.0.45-alpha |
Fixes: #10183
@keymanapp-test-bot skip