spiegel-keyman/linux/ibus-keyman/tests
Eberhard Beilharz 80ae8e6289
chore(linux): improve compatibility with Gentoo Linux 🍒
Gentoo doesn't use systemd. `libelogind` or `basu` implement some aspects
of systemd, so we use that on Gentoo (or rather when `libsystemd` is not
available but `libelogind` or `basu` is).

Patch from https://forums.gentoo.org/viewtopic.php?p=8850566.
See also https://community.software.sil.org/t/keyman-for-gentoo-linux/9615.

Cherry-pick-of: #12889
2025-01-29 09:18:22 +01:00
..
scripts fix(linux): improve test script 2025-01-24 10:43:31 +01:00
ibusimcontext.c chore(linux): change SIL International to SIL Global 2024-12-10 10:26:44 +01:00
ibusimcontext.h chore(linux): change SIL International to SIL Global 2024-12-10 10:26:44 +01:00
KmDbusTestServer.cpp chore(linux): improve compatibility with Gentoo Linux 🍒 2025-01-29 09:18:22 +01:00
meson.build chore(linux): improve compatibility with Gentoo Linux 🍒 2025-01-29 09:18:22 +01:00
README.md docs(linux): Update readme for ibus-keyman tests 2023-09-21 10:25:48 +02:00
StopTestServer.cpp chore(linux): improve compatibility with Gentoo Linux 🍒 2025-01-29 09:18:22 +01:00
testfixture.cpp refactor(linux): rename methods that deal with keyboard options 2024-06-21 18:22:29 +02:00
testmodule.c chore(linux): Fix warnings 2023-01-26 16:58:27 +01:00
testmodule.h chore(linux): Fix warnings 2023-01-26 16:58:27 +01:00

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 build.sh test.

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