mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 02:15:32 +00:00
Debian reproducibility testing runs a slightly different package build that seemingly doesn't set the `DEB_BUILD_MULTIARCH` variable. This change introduces our own environment variable to detect package builds so that we can skip the ibus-keyman integration tests that require running an X server. |
||
|---|---|---|
| .. | ||
| .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 common/core/desktop/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
common/core/desktop/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