spiegel-keyman/linux/ibus-keyman/tests
Eberhard Beilharz 76206c6507
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.
2025-01-27 18:11:49 +01:00
..
scripts chore(linux): Improve process check 2023-10-10 15:52:52 +02:00
ibusimcontext.c chore(linux): change SIL International to SIL Global 2024-12-10 18:58:26 +01:00
ibusimcontext.h chore(linux): change SIL International to SIL Global 2024-12-10 18:58:26 +01:00
KmDbusTestServer.cpp chore(linux): improve compatibility with Gentoo Linux 2025-01-27 18:11:49 +01:00
meson.build chore(linux): improve compatibility with Gentoo Linux 2025-01-27 18:11:49 +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-27 18:11:49 +01:00
testfixture.cpp fix(core): update linux test load_source call 2023-12-15 14:05:37 +10: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