Skip to content

Commit

Permalink
try Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Dec 14, 2024
1 parent baa8b5d commit 5145fe0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ llama_test(test-tokenizer-0 NAME test-tokenizer-0-starcoder ARGS ${CMAKE


if (NOT WIN32)
# these tests are disabled on Windows because they use internal functions not exported with LLAMA_API
# these tests are disabled on Windows because they use internal functions not exported with LLAMA_API/GGML_API
llama_target_and_test(test-sampling.cpp)
llama_target_and_test(test-grammar-parser.cpp)
llama_target_and_test(test-grammar-integration.cpp)
Expand Down Expand Up @@ -122,14 +122,15 @@ if (NOT WIN32)
#llama_test(test-tokenizer-1-spm NAME test-tokenizer-1-baichuan ARGS ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab-baichuan.gguf)

# llama_target_and_test(test-double-float.cpp) # SLOW

llama_target_and_test(test-gguf.cpp)
endif()

llama_target_and_test(test-log.cpp)
llama_target_and_test(test-arg-parser.cpp)
llama_target_and_test(test-chat-template.cpp)

# llama_target_and_test(test-opt.cpp) # SLOW
llama_target_and_test(test-gguf.cpp)
llama_target_and_test(test-backend-ops.cpp)

llama_target_and_test(test-model-load-cancel.cpp LABEL "model")
Expand Down

0 comments on commit 5145fe0

Please sign in to comment.