From 79fe79919436fa26029a0ac1ea25eb34c2c2fb0d Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Wed, 19 Aug 2026 01:50:50 -0500 Subject: [PATCH] tests: skip test-unicode build on win32/BUILD_SHARED_LIBS (#27336) --- tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0db7fd9ef..e517d2c63 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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)