mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
Decided to use the name `baseline` for this set of tests. They can be used by any project in the repo now. Tests will be treated as shared, and not modified (except in the case of a buggy test). * Moves .kmn files, add `&NAME` line (don't use meson templating for these files) * Generates reference .kmx files using kmcomp for use as a baseline with kmcmplib (kmc) tests, and for linux tests * Updates references in core, kmcmplib, and linux builds * Renames all the .kmn / .kmx to use a standardized, clean name format (this was needed for building packages in the core tests)
746 B
746 B
ibus-keyman integration tests
The ibus-keyman integration tests run the tests defined in common/test/keyboards/baseline.
The tests run in a separate Xephyr session. Any dconf settings that have to be set during the tests
are stored in ~/.config/glib-2.0/settings/keyfile.
Running tests
The tests get run as part of building ibus-keyman, more specifically when running make check.
Run all tests
All tests can be run with the test script:
scripts/run-tests.sh
Run specific tests
To run a single test you pass the testname (as found in
common/test/keyboards/baseline). Multiple tests should be separated by space.
scripts/run-tests.sh -- k_000___null_keyboard k_005___nul_with_initial_context