diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-08 20:31:44 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-11 17:04:33 (GMT) |
commit | 1a2961b8958e126f7ae6d6fe125bc4fb453f2de4 (patch) | |
tree | b6408d97e7e40f12d25657d94164a228722d6f05 /Tests/RunCMake | |
parent | 2caa7502d523316d431c18b26e72e6cdd2577df8 (diff) | |
download | CMake-1a2961b8958e126f7ae6d6fe125bc4fb453f2de4.zip CMake-1a2961b8958e126f7ae6d6fe125bc4fb453f2de4.tar.gz CMake-1a2961b8958e126f7ae6d6fe125bc4fb453f2de4.tar.bz2 |
Tests: add CUDA labels to tests which are affected by CUDA
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 65d5e44..8bb1f27 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -118,6 +118,8 @@ add_RunCMake_test(CMP0081) add_RunCMake_test(CMP0102) if(CMake_TEST_CUDA) add_RunCMake_test(CMP0104) + set_property(TEST RunCMake.CMP0104 APPEND + PROPERTY LABELS "CUDA") endif() add_RunCMake_test(CMP0106) @@ -149,6 +151,8 @@ if(CMAKE_GENERATOR MATCHES "Ninja") list(APPEND NinjaMultiConfig_ARGS -DCMake_TEST_CUDA=${CMake_TEST_CUDA}) endif() add_RunCMake_test(NinjaMultiConfig) + set_property(TEST RunCMake.NinjaMultiConfig APPEND + PROPERTY LABELS "CUDA") endif() add_RunCMake_test(CTest) @@ -365,6 +369,8 @@ function(add_RunCMake_test_try_compile) endif() endforeach() add_RunCMake_test(try_compile) + set_property(TEST RunCMake.try_compile APPEND + PROPERTY LABELS "CUDA") endfunction() add_RunCMake_test_try_compile() @@ -481,6 +487,8 @@ add_RunCMake_test(target_link_libraries) add_RunCMake_test(add_link_options -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}) add_RunCMake_test(target_link_options -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID} -DCMake_TEST_CUDA=${CMake_TEST_CUDA}) +set_property(TEST RunCMake.target_link_options APPEND + PROPERTY LABELS "CUDA") add_RunCMake_test(target_compile_definitions) add_RunCMake_test(target_compile_features) @@ -590,6 +598,8 @@ if("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") list(APPEND CompilerLauncher_ARGS -DCMake_TEST_OBJC=1) endif() add_RunCMake_test(CompilerLauncher) + set_property(TEST RunCMake.CompilerLauncher APPEND + PROPERTY LABELS "CUDA") add_RunCMake_test(ctest_labels_for_subprojects) endif() |