Commit graph

33 commits

Author SHA1 Message Date
glasseyes
30be8a13a1 add comment about meson for kmcomp.found 2019-01-03 16:31:40 +07:00
glasseyes
8558a22144 xenial doesn't like files in args
Error message is:
"Command line arguments must be strings, files or targets"

even though the arguments are files()
2019-01-03 15:57:18 +07:00
Tim Eves
dfcedcdb6c
Merge branch 'master' into common-refactor-actions-options 2018-12-18 17:27:31 +07:00
glasseyes
7e1c076079 put test back and make is use L and R keys 2018-12-18 12:50:41 +07:00
glasseyes
65457bd603 remove test for generic CTRL and ALT
which shouldn't be used for input
2018-12-18 12:06:00 +07:00
Tim Eves
a1766f5405 Enable new kmx tests 2018-12-18 09:45:41 +07:00
Tim Eves
d985e7b7b7
Add explanatory comments to disabling kmcomp 2018-12-05 17:36:30 +07:00
Tim Eves
f7f1da8267 Fix disabler() being unavailable in meson < 0.45
Also handle moved kmn source directory
2018-12-04 17:52:53 +07:00
Tim Eves
b343357ae3 Fixes to get kmx building to work under Windows.
Fix encoding issue with refactored kmx.cpp test harness and utf8 to 
wchar_t strings conversion.
Fix meson.build so the wine prefix doesn't interfere with running kmcomp 
natively on Windows.
2018-12-04 17:48:21 +07:00
Tim Eves
9f98f9c22f Fixes to get meson to run kmcomp and place output in source dir.
This may rebuild a little more frequently than necessary, but not much.
Added support for running kmcomp.exe under wine on non-windows OS only 
if wine is available.
2018-12-04 17:48:01 +07:00
Daniel Glassey
e0cee2b8ae
Merge branch 'master' into linux-ibus-keyman 2018-11-30 09:37:07 +07:00
glasseyes
ca27f40673 warning reminder to copy compiled keyboards 2018-11-30 09:32:59 +07:00
glasseyes
83b0fc4eb5 missing endforeach 2018-11-29 15:48:24 +07:00
glasseyes
a75ce4106b change kmx test to accept 2 arguments
'kmn' and either source root or build root
2018-11-29 15:29:23 +07:00
glasseyes
6c3bb00f41 revert kbp changes apart from prog_kmcomp check
they will be in another PR
2018-11-29 13:03:41 +07:00
Marc Durdin
319d5a800a [Common] Ignore kmcomp if not present and use prebuilt kmx files for tests 2018-11-28 06:28:45 +11:00
glasseyes
337e1ac5d0 Merge branch 'master' into windows-refactor-kmprocess-for-kpapi-daniel 2018-11-27 13:21:19 +07:00
Marc Durdin
50e5a0d3b4 [common] renaming and cleanup 2018-11-24 12:04:09 +11:00
Marc Durdin
5af7ec4999 [common] Support for caps lock 2018-11-23 14:00:10 +11:00
Marc Durdin
1da7c555cf [common] Test multiple groups, and test resulting actions 2018-11-23 10:52:49 +11:00
Marc Durdin
751557a41a [common] Add beep test, tweak test config for kmx 2018-11-23 10:36:21 +11:00
Marc Durdin
ce24cab902 [common] Test for SMP characters with KMX 2018-11-23 10:29:35 +11:00
Marc Durdin
b99cd600f6 [common] Full support for environment. Some refactoring of how environment options are set 2018-11-23 10:12:11 +11:00
glasseyes
16dd44047e make kmx test optional
Debian and other automated buildds won't have kmcomp.exe so
don't let that fail the build
2018-11-20 13:00:09 +07:00
Daniel Glassey
1a7ce3f380
Merge branch 'windows-refactor-kmprocess-for-kpapi' into windows-refactor-kmprocess-for-kpapi-daniel 2018-11-20 09:39:44 +07:00
glasseyes
d62f2034c6 compile kmn in configure step 2018-11-19 11:10:36 +07:00
glasseyes
f5115174fe kmx to find tests in current dir, meson on bionic
to allow debugging it
meson 0.45 on Ubuntu bionic doesn't have configure_files:copy
or test:depends
2018-11-19 10:39:03 +07:00
Marc Durdin
396d552c81 [common] Add test framework and tests for keyboard options (failing right now because no implementation) 2018-11-19 11:14:06 +11:00
Marc Durdin
f0f3f355de [common] kmx tests uses list of kmn files in meson.build 2018-11-19 08:49:46 +11:00
Marc Durdin
a35fdeba00 [common] Add nul test source (not yet tested) and build .kmx files during tests 2018-11-19 08:45:03 +11:00
Marc Durdin
328552fae6 [common] fix some build warnings, move files, remove pch.h 2018-11-19 06:21:48 +11:00
Marc Durdin
566796eaef [Common] all but one test now passes. Refactoring to come, then cleanup 2018-11-16 13:39:35 +11:00
Marc Durdin
646c322b4c [Common] First kmx test case (currently fails, as it should) and KMX integration started 2018-11-16 11:12:56 +11:00