summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-31 16:26:23 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-31 16:27:53 (GMT)
commit0a5d29159e086ddd3ee9fc645eb575281785b9cf (patch)
treef4cabd1155320d607b23bb64dc3d4b7d868fe8f0 /Tests/UseSWIG
parent16b1f0c3e99023316b12fdabd1980a18b738d942 (diff)
downloadCMake-0a5d29159e086ddd3ee9fc645eb575281785b9cf.zip
CMake-0a5d29159e086ddd3ee9fc645eb575281785b9cf.tar.gz
CMake-0a5d29159e086ddd3ee9fc645eb575281785b9cf.tar.bz2
Tests: Add "Fortran" test label
With this, `ctest -L Fortran` will run only tests covering Fortran.
Diffstat (limited to 'Tests/UseSWIG')
-rw-r--r--Tests/UseSWIG/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/UseSWIG/CMakeLists.txt b/Tests/UseSWIG/CMakeLists.txt
index 3d80270..0971025 100644
--- a/Tests/UseSWIG/CMakeLists.txt
+++ b/Tests/UseSWIG/CMakeLists.txt
@@ -134,6 +134,7 @@ if (CMake_TEST_UseSWIG_Fortran)
--build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
)
+ set_property(TEST UseSWIG.BasicFortran APPEND PROPERTY LABELS "Fortran")
endif()
endif()