mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-16 12:47:41 +00:00
This is a workaround for running the tests on Ubuntu 22.04 Jammy. For 16.0 we don't have everything in place to successfully run the tests with Wayland. Additionally the Wayland support in Keyman is still incomplete. So we disable the Wayland tests in order to be able to get successful builds of 16.0. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| ibusimcontext.c | ||
| ibusimcontext.h | ||
| Makefile.am | ||
| README.md | ||
| run-tests.sh | ||
| testfixture.cpp | ||
| testmodule.c | ||
| testmodule.h | ||
ibus-keyman integration tests
The ibus-keyman integration tests run the tests defined in core/tests/unit/kmx.
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:
./run-tests.sh
Run specific tests
To run a single test you pass the testname (as found in
core/build/arch/*/tests/unit/kmx). Multiple tests should be separated by space.
./run-tests.sh -- k_000___null_keyboard k_005___nul_with_initial_context