mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-22 00:07:46 +00:00
Consolidate test frameworks and cleanup, including: * all tests use Google Test * reorganize folders, esp. kmnkbd -> api * move all api tests into api folder * replace references to test_assert or test_color with gtest equivalents * leverage gtest patterns to remove boilerplate code * dramatically simplify meson.build files and localize variables * move shared helper code into helpers/ folder * make test names unique and add gtest protocol for reporting back to teamcity Fixes: * CLDR test keyboards had invalid unicodeset escapes (needs to be raised upstream also) - was not failing tests because files were not loading but returning success Test-bot: skip
19 lines
425 B
Meson
19 lines
425 B
Meson
#
|
|
# Keyman is copyright (C) SIL Global. MIT License.
|
|
#
|
|
# Build kmx_test_source library (used by core, linux)
|
|
#
|
|
coretest_files = files(
|
|
'kmx_test_source.cpp',
|
|
)
|
|
|
|
kmx_test_source_lib = static_library('keymancore-tests',
|
|
coretest_files,
|
|
cpp_args: defns + test_warns + flags,
|
|
include_directories: test_includes,
|
|
link_args: links,
|
|
objects: lib.extract_all_objects(recursive: false),
|
|
pic: true,
|
|
install: false
|
|
)
|
|
|