Eberhard Beilharz
1e67022a44
change(linux): restart ibus only when manually running tests
...
If we try to restart ibus when we run the tests as part of a build we
run into a timeout in the test teardown.
2024-06-14 15:37:43 +02:00
Eberhard Beilharz
407cfa8f33
chore(linux): address code review comments
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-14 15:09:13 +02:00
Eberhard Beilharz
b93c459515
fix(linux): restart ibus after manual integration test run
...
Previously keyboard input was no longer input after manually running
the integration tests. This change fixes this by restarting ibus after
the tests. However, we only want to do that if the ibus instance we
started for the tests got killed. The cleanup script might get called
multiple times, so we need this check.
2024-06-13 17:50:41 +02:00
Eberhard Beilharz
7340c6be1f
chore(linux): Improve process check
2023-10-10 15:52:52 +02:00
Eberhard Beilharz
2356a39efa
chore(linux): Add testname to log file
2023-10-10 15:52:52 +02:00
Eberhard Beilharz
22126a0eef
refactor(linux): Use auto cleanup
2023-10-10 15:52:51 +02:00
Eberhard Beilharz
43ae210494
chore(linux): Fix run-tests.sh script
...
This passes the new parameter to the `setup` call which got introduced in
a previous PR.
2023-09-27 12:58:00 +02:00
Eberhard Beilharz
650c04d21c
chore(linux): Dynamically choose display number
...
This improves reliability if some processes are still running from a
previous run, which previously caused the tests to fail.
Also in the case of failed processes, list which ones are missing.
2023-09-26 18:09:13 +02:00
Eberhard Beilharz
4ecaad6ef1
chore(linux): Address code review comments
2023-09-26 13:04:33 +02:00
Eberhard Beilharz
1b5a86607d
chore(linux): Check that background processes are still running
...
Before we run a test we now check that ibus and the other processes
we need are still running. If not we run test setup again.
Maybe fix #9570 .
2023-09-25 18:55:54 +02:00
Eberhard Beilharz
90627428c4
chore(linux): Debug test failures
...
This no longer suppresses the output of cleanup.
2023-09-21 18:55:28 +02:00
Eberhard Beilharz
4e4a1215ce
chore(linux): Fix bug in ibus-keyman run-tests.sh script
2023-09-21 18:55:27 +02:00
Eberhard Beilharz
c616be6bf1
refactor(linux): Move common code to included file
2023-07-19 17:39:34 +02:00
Eberhard Beilharz
6622c70fd2
chore(linux): Fix running tests with Wayland
...
Because we passed in a wrong parameter (`--wayland`) but checked for
just `wayland` we never run the tests with Wayland. This change
rectifies this.
2023-07-19 16:22:31 +02:00
Eberhard Beilharz
81f46e1a6d
feat(linux): Minimize tags before adding keyboards
...
This ensures that bcp47 language tags are in a form the OS
understands.
2023-07-19 16:20:27 +02:00
Eberhard Beilharz
749112660d
chore(linux): Move some files to keyman-config
...
Some of the configuration files are useful for other distributions
as well. So this change moves them out of `debian/` to
`linux/keyman-config` so that they will be included in the source
tar ball.
Also remove zero-width space from one file.
Closes #8880 .
2023-06-05 15:24:41 +02:00
Eberhard Beilharz
ab25157364
feat(linux): Refactor to benefit from C++ RAII
...
Also apply changes from code review comments.
2023-05-22 19:51:45 +02:00
Eberhard Beilharz
f6e5e468c4
chore(linux): Rename test-helper.sh to test-helper.inc.sh
...
Follow-up of code review.
2023-05-16 10:59:16 +02:00
Eberhard Beilharz
c2e6fe23bd
feat(linux): Client side
2023-05-15 09:13:58 +02:00
Eberhard Beilharz
24d808a210
chore(linux): Address code review comments
...
This is a follow-up of #8510 .
2023-05-09 11:03:55 +02:00
Eberhard Beilharz
215e8d5eb8
Update linux/ibus-keyman/tests/scripts/test-helper.sh
...
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2023-05-08 09:53:45 +02:00
Eberhard Beilharz
f150f0cd68
Update linux/ibus-keyman/tests/scripts/test-helper.sh
...
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2023-05-08 09:53:36 +02:00
Eberhard Beilharz
a7630a0265
fix(linux): Fix linux tests
2023-05-05 10:55:45 +02:00
Marc Durdin
c5d79a9fb4
Merge pull request #7330 from keymanapp/feature-kmcompx
...
epic: kmcompx - kmcmpdll cross-platform compiler 🚑
2023-04-10 07:34:04 +10:00
Eberhard Beilharz
38b2254d39
chore(linux): Improve robustness of test cleanup
...
Closes #8517 .
2023-03-28 19:51:17 +02:00
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
Eberhard Beilharz
794557f7d5
chore(core): Remove obsolete --target-path option
...
Linux package builds no longer require a different target path, so
we can remove the `--target-path` parameter.
2023-03-07 13:38:31 +01:00
Marc Durdin
a0fa39232d
chore(linux): use core kmx tests from source rather than build
2023-02-24 05:57:15 +07:00
Darcy Wong
7a7ba2f70c
chore(linux): Set test-helper script executable
2023-02-07 10:38:08 +07:00
Eberhard Beilharz
0367df8652
chore(linux): Fix a few bugs in meson scripts
2023-02-02 19:06:55 +01:00
Eberhard Beilharz
eb076c08c8
chore(linux): Build with meson instead of autotools
...
This change introduces meson for building ibus-keyman instead of
autotools.
Closes #5981 .
2023-01-30 16:32:38 +01:00