summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-06-08 20:31:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-06-11 17:04:33 (GMT)
commit1a2961b8958e126f7ae6d6fe125bc4fb453f2de4 (patch)
treeb6408d97e7e40f12d25657d94164a228722d6f05 /Tests/CMakeLists.txt
parent2caa7502d523316d431c18b26e72e6cdd2577df8 (diff)
downloadCMake-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/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index d7e567c..b771ff5 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -450,6 +450,8 @@ if(BUILD_TESTING)
-DCMake_TEST_CUDA:BOOL=${CMake_TEST_CUDA}
)
ADD_TEST_MACRO(ExportImport ExportImport)
+ set_property(TEST ExportImport APPEND
+ PROPERTY LABELS "CUDA")
ADD_TEST_MACRO(Unset Unset)
ADD_TEST_MACRO(PolicyScope PolicyScope)
ADD_TEST_MACRO(EmptyLibrary EmptyLibrary)
@@ -1896,6 +1898,8 @@ ${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGH
endif()
set(MSVCRuntimeLibrary_BUILD_OPTIONS -DCMake_TEST_CUDA=${CMake_TEST_CUDA})
ADD_TEST_MACRO(MSVCRuntimeLibrary)
+ set_property(TEST MSVCRuntimeLibrary APPEND
+ PROPERTY LABELS "CUDA")
if(CMAKE_Fortran_COMPILER)
ADD_TEST_MACRO(MSVCRuntimeLibrary.Fortran)
endif()