Skip to content

Commit 98f4c12

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,10 @@ 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+
if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch64")
133+
llama_target_and_test(test-json-schema-to-grammar.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)
134+
target_include_directories(test-json-schema-to-grammar PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../examples/server)
135+
endif()
134136

135137
# dummy executable - not installed
136138
get_filename_component(TEST_TARGET test-c.c NAME_WE)

0 commit comments

Comments
 (0)