tests: skip test-unicode build on win32/BUILD_SHARED_LIBS (#27336)

This commit is contained in:
Jeff Bolz 2026-08-19 01:50:50 -05:00 committed by GitHub
parent 0329fcdac8
commit 79fe799194
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,8 +116,6 @@ function(llama_build_and_test source)
set_property(TEST ${TEST_TARGET} PROPERTY LABELS ${LLAMA_TEST_LABEL})
endfunction()
llama_build_and_test(test-unicode.cpp)
# build test-tokenizer-0 target once and add many tests
llama_build(test-tokenizer-0.cpp)
@ -154,6 +152,7 @@ llama_build(test-recurrent-state-rollback.cpp)
if (NOT WIN32 OR NOT BUILD_SHARED_LIBS)
# these tests are disabled on Windows because they use internal functions not exported with LLAMA_API (when building with shared libraries)
llama_build_and_test(test-unicode.cpp)
llama_build_and_test(test-sampling.cpp)
llama_build_and_test(test-reasoning-budget.cpp)
llama_build_and_test(test-grammar-parser.cpp)