Evan Hu e266b03c92 fix(build): stop registering the engine's tests in this build
main is red. ctest reports eleven failures, all of the form:

    Unable to find executable: .../build/MetasequoiaImeEngine/Release/test_platform_api.exe

#14 began consuming the engine through add_subdirectory(... EXCLUDE_FROM_ALL), and the engine
registers eleven add_test() entries behind BUILD_TESTING. EXCLUDE_FROM_ALL then keeps the
executables those entries point at out of the build, so ctest has eleven registered tests it cannot
run. It went unnoticed until #22 turned ctest on.

Turning BUILD_TESTING off across that one add_subdirectory suppresses the registration. The engine's
own CI runs those tests on Ubuntu, macOS and Windows, so running them from here would be redundant
even if they did build. BUILD_TESTING is restored immediately afterwards so this repository's own
tests/ still register; the engine guards its test block on the same flag, and CMP0077 is NEW at
cmake_minimum_required 3.25, so its include(CTest) will not override the normal variable.

MetasequoiaImeServerTests itself passes, in 25.6 seconds, with the dictionary data #22 provisions.
2026-09-05 20:08:23 +09:00
S
Description
水杉输入法 Windows 产品:TSF、Server、GUI、设置页与安装器。内测:tg: https://t.me/msimegroup QQ Group: 829919142
https://msime.app
GPL-3.0
24 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 93.5%
Python 2.4%
PowerShell 2%
CMake 0.9%
Inno Setup 0.7%
Other 0.5%