spiegel-keyman/linux/ibus-keyman/tests
Marc Durdin c18ef54029 refactor(common): move core baseline tests into common
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)
2023-03-28 05:20:45 +07:00
..
scripts refactor(common): move core baseline tests into common 2023-03-28 05:20:45 +07:00
ibusimcontext.c chore(linux): Build with meson instead of autotools 2023-01-30 16:32:38 +01:00
ibusimcontext.h chore(linux): Update copyright 2022-03-14 12:08:09 +01:00
meson.build chore(core): Update path to test library 2023-02-23 16:22:10 +01:00
README.md refactor(common): move core baseline tests into common 2023-03-28 05:20:45 +07:00
testfixture.cpp fix(linux): Skip failing Wayland tests 2023-02-14 09:42:13 +01: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 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