Skip to content

Commit

Permalink
Set krnlmon label on krnlmon unit tests (#157)
Browse files Browse the repository at this point in the history
- The label can be used with ctest to select the tests to be run
  or excluded.

Signed-off-by: Derek Foster <[email protected]>
  • Loading branch information
ffoulkes authored Jul 15, 2024
1 parent 2fd1746 commit 503c2cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 503c2cf

Please sign in to comment.