Skip to content

Commit 77c16ee

Browse files
committed
tests : disable json test due to lack of python on the CI node
ggml-ci
1 parent 50fb3d3 commit 77c16ee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@ llama_target_and_test(test-rope.cpp)
129129
llama_target_and_test(test-model-load-cancel.cpp LABEL "model")
130130
llama_target_and_test(test-autorelease.cpp LABEL "model")
131131

132-
llama_target_and_test(test-json-schema-to-grammar.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)
133-
target_include_directories(test-json-schema-to-grammar PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../examples/server)
132+
# TODO: disabled on loongarch64 because the ggml-ci node lacks Python 3.8
133+
if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch64")
134+
llama_target_and_test(test-json-schema-to-grammar.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)
135+
target_include_directories(test-json-schema-to-grammar PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../examples/server)
136+
endif()
134137

135138
# dummy executable - not installed
136139
get_filename_component(TEST_TARGET test-c.c NAME_WE)

0 commit comments

Comments
 (0)