From 503c2cfb59d7c6796b4d95a561346472e72d0853 Mon Sep 17 00:00:00 2001 From: Derek G Foster Date: Mon, 15 Jul 2024 06:16:59 -0700 Subject: [PATCH] Set krnlmon label on krnlmon unit tests (#157) - The label can be used with ctest to select the tests to be run or excluded. Signed-off-by: Derek Foster --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f9fa0c..90dc083 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,9 @@ add_compile_options(-Werror) include_directories(.) +# Set the "krnlmon" label on all tests in this directory. +set_property(DIRECTORY PROPERTY LABELS krnlmon) + if(BUILD_TESTING) include(cmake/testing.cmake) endif()