summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-30 13:55:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-03-30 13:55:42 (GMT)
commite6a5799fa0a74afe958ba9cfed95bdb873a33357 (patch)
treeef4e84d46f6c3635e241f288bf2b3fc2ae49d820 /Tests/RunCMake/CMakeLists.txt
parent8a25f817d9bf15ebaad56ecbf376f6735a941485 (diff)
parent44ad3f0b7f7e0aaf96e5cfd672d07a70e1b76410 (diff)
downloadCMake-e6a5799fa0a74afe958ba9cfed95bdb873a33357.zip
CMake-e6a5799fa0a74afe958ba9cfed95bdb873a33357.tar.gz
CMake-e6a5799fa0a74afe958ba9cfed95bdb873a33357.tar.bz2
Merge topic 'multiple-L-labels'
44ad3f0b7f ctest: Support multiple -L and -LE options to mean "AND" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lars Bilke <larsbilke83@googlemail.com> Merge-request: !5329
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 07a75b8..f198a4c 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -29,6 +29,10 @@ macro(add_RunCMake_test test)
${TEST_ARGS}
-P "${CMAKE_CURRENT_SOURCE_DIR}/${Test_Dir}/RunCMakeTest.cmake"
)
+ set_tests_properties("RunCMake.${test}" PROPERTIES LABELS "CMake;run")
+ if(${test} MATCHES ^CMP)
+ set_property(TEST "RunCMake.${test}" APPEND PROPERTY LABELS "policy")
+ endif()
endmacro()
function(add_RunCMake_test_group test types)