spiegel-keyman/core/tests/kmx_test_source/meson.build
Marc Durdin d61e5bbb18 refactor(core): clean up unit tests
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
2026-04-28 12:17:44 +02:00

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
)