ggml-debug: tests add the main label

This commit is contained in:
Pierrick HYMBERT 2024-04-10 22:18:45 +02:00
parent a42ebbd596
commit f84473da64

View file

@ -4,8 +4,9 @@ install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
# define tests
enable_testing()
if (NOT DEFINED LLAMA_TEST_LABEL)
set(LLAMA_TEST_LABEL "main")
endif()
set(TEST_TARGET test-ggml-debug)
add_test(NAME ${TEST_TARGET} COMMAND ggml-debug --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42)