Skip to content

Commit d3a2eb5

Browse files
authored
disable on windows
1 parent 7210ebe commit d3a2eb5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,8 @@ llama_test(test-tokenizer-0 NAME test-tokenizer-0-qwen2 ARGS ${CMAKE
9797
llama_test(test-tokenizer-0 NAME test-tokenizer-0-refact ARGS ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab-refact.gguf)
9898
llama_test(test-tokenizer-0 NAME test-tokenizer-0-starcoder ARGS ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab-starcoder.gguf)
9999

100-
if (LLAMA_CURL)
101-
IF (WIN32)
102-
llama_build_and_test(test-tokenizers-remote.cpp WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE})
103-
else()
104-
llama_build_and_test(test-tokenizers-remote.cpp WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
105-
endif()
100+
if (LLAMA_CURL AND NOT WIN32)
101+
llama_build_and_test(test-tokenizers-remote.cpp WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
106102
endif()
107103

108104
if (LLAMA_LLGUIDANCE)

0 commit comments

Comments
 (0)