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
3d8cf1830b
chore(linux): Add dependency to build.sh
...
For integration tests ibus-keyman requires keyman-system-service to
be built, so we add this as a dependency.
2023-09-21 16:11:43 +02:00
Eberhard Beilharz
447bc842ae
docs(linux): Update readme for ibus-keyman tests
2023-09-21 10:25:48 +02:00
Eberhard Beilharz
c16b602865
chore(linux): Check existence of services directory
...
When running the integration tests, we provide a test service that
replaces `keyman-system-service`. DBus needs the updated `.service`
files in the `services` directory so that it will use the test
service. This change outputs an error and returns an non-zero
exit code if it can't find the `services` directory, which usually
means that `keyman-system-service` didn't get build.
2023-09-21 10:25:48 +02:00
Eberhard Beilharz
89eab5e0ee
chore(linux): Don't crash if error is not set
2023-09-21 10:25:48 +02:00
Eberhard Beilharz
4e8e09186c
Merge pull request #9583 from keymanapp/chore/linux/coverage
...
chore(linux): Add coverage action to `ibus-keyman/build.sh`
2023-09-20 08:52:48 +02:00
Eberhard Beilharz
20149b6a2f
chore(linux): Remove obsolete code
...
Addresses code review comment.
2023-09-20 08:52:13 +02:00
Eberhard Beilharz
3f4dae0231
chore(linux): make --report an option instead of action
...
This addresses code review comments.
2023-09-19 10:23:00 +02:00
Eberhard Beilharz
a870b9a6c0
chore(linux): Add coverage action to ibus-keyman/build.sh
2023-09-18 19:19:58 +02:00
Eberhard Beilharz
a03eca3d81
refactor(linux): Rename defines to clarify purpose 🏘️
2023-09-18 19:00:29 +02:00
Eberhard Beilharz
7c7d46720c
chore(linux): Split startup process
...
This change improves the startup method so that it will also work
if ibus hasn't started yet. Also fixes two memory leaks.
2023-09-15 16:58:34 +02:00
Eberhard Beilharz
71c6bfb960
refactor(linux): Reformat file
2023-09-14 11:31:29 +02:00
Eberhard Beilharz
5a03371052
fix(linux): Get name, not version
2023-08-03 17:04:17 +02:00
Eberhard Beilharz
aac11a2c1e
chore(linux): Fix memory leaks
2023-08-03 17:04:16 +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
35ee5b7549
docs(linux): Update man page for ibus-engine-keyman
...
Change the man page to reflect the actual options.
2023-07-18 20:29:01 +02:00
Eberhard Beilharz
bc4b1fd19f
chore(linux): Remove do-nothing option --verbose
...
`ibus-engine-keyman` accepted a `--verbose` and `-v` command line
option which didn't do anything. Instead this change adds a comment
explaining how to get more verbose output.
2023-07-18 20:21:26 +02:00
Eberhard Beilharz
fee21869fb
chore(linux): Allow to run tests without integration tests
2023-07-05 17:08:06 +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
1823e1febb
feat(linux): Address code review comments
2023-05-23 11:48:58 +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
a820d34c08
chore(linux): Fix meson warnings
2023-05-22 18:10:54 +02:00
Eberhard Beilharz
16daabd0f4
feat(linux): Make cleanup more consistent
...
Follow-up of code review comments.
# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #4273 " to your commit message.
2023-05-17 10:46:20 +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
a8e0b3666e
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/config-build.sh
2023-05-10 18:09:11 +02:00
Eberhard Beilharz
efb48e5568
chore(linux): Add build.sh for keyman-config
...
Also remove second output from build.sh which isn't supported and
doesn't work. `ibus-keyman-tests` will be built when running
`build.sh test`.
2023-05-09 11:59:21 +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
Eberhard Beilharz
fe4e968a49
chore(linux): Fix build script
...
Previously we didn't correctly change directories which could lead
to the error "cd: ../build/x86_64/release: No such file or directory".
2023-05-03 11:36:15 +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
40e6c6edaa
Update linux/ibus-keyman/build.sh
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-14 16:14:23 +01:00
Eberhard Beilharz
c33635b2f4
chore(linux): Use dependency on core in ibus-keyman/build.sh
2023-03-13 09:50:14 +01:00
Eberhard Beilharz
d0ec73825a
Merge pull request #8376 from keymanapp/chore/core/obsoleteOption
...
chore(core): Remove obsolete `--target-path` option
2023-03-09 16:27:23 +01:00
Marc Durdin
00017350d3
chore(common): clean up --debug usage in build scripts
...
Fixes #8373 .
Note that the core functionality requested in #8373 is already in place;
this commit just does some cleanup to make this easier to maintain in
the future:
* Uses `builder_is_debug_build` function to test for debug build
(instead of `builder_has_option --debug`, which would also work but
using the other function avoids typo issues with the option name).
* Renames `$_builder_debug` to `$_builder_debug_internal` to reduce
naming confusion
* Documents `$builder_debug`, `builder_is_debug_build`, and clarifies
usage of `--debug` option.
* Logs command line for dep builds (we could hide this in the future,
but it certainly doesn't hurt for now!)
2023-03-08 05:40:40 +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
Eberhard Beilharz
c20531b08a
chore(linux): Log error
2023-03-06 16:00:43 +01:00
Eberhard Beilharz
a26caa4d18
feat(linux): Add DBus method SendText
...
This new DBus method allows an OSK to output a junk of text.
2023-03-06 16:00:43 +01:00
Eberhard Beilharz
02b36a8d8d
Merge pull request #8294 from keymanapp/fix/linux/debian
...
fix(linux): Fix debian postinst script
2023-02-28 15:02:30 +01:00
Marc Durdin
b809a60936
Merge pull request #7054 from keymanapp/feature-ldml
...
epic: LDML keyboard support 🙀
2023-02-28 20:38:00 +11:00
Eberhard Beilharz
67bd5fb399
fix(linux): Fix ibus-keyman/build.sh
...
Paths that describe outputs are supposed to be relative to root,
not absolute. Also, it turns out we don't use the `--output`
parameter, so this change removes it.
2023-02-27 18:42:38 +01:00
Eberhard Beilharz
ec0048955b
chore(linux): Improve detecting presence of test files
...
With recent work the location where we generate the test files
changed, but the test setup script didn't completely work.
2023-02-24 09:00:40 +01:00
Marc Durdin
a0fa39232d
chore(linux): use core kmx tests from source rather than build
2023-02-24 05:57:15 +07:00