diff --git a/examples/ggml-debug/CMakeLists.txt b/examples/ggml-debug/CMakeLists.txt index b79e96dee..211583663 100644 --- a/examples/ggml-debug/CMakeLists.txt +++ b/examples/ggml-debug/CMakeLists.txt @@ -7,4 +7,6 @@ target_compile_features(${TARGET} PRIVATE cxx_std_11) # define tests enable_testing() -add_test(NAME test-ggml-debug COMMAND ggml-debug --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42) +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) +set_property(TEST ${TEST_TARGET} PROPERTY LABELS ${LLAMA_TEST_LABEL})