From 368272c54bd265de728ce3bc9ef143d4e92c4f14 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Wed, 10 Apr 2024 21:52:04 +0200 Subject: [PATCH] ggml_debug: add main test label --- examples/ggml-debug/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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})