summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-28 16:35:37 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-12-01 16:42:46 (GMT)
commit069a32b03c812569a143e09e7025be76995495a6 (patch)
tree0575224866000f1a44353d84b3ec9129d7ba90e3 /Tests/RunCMake/CXXModules
parentef03a3a2f534d694d0a58ce610db152d28abb1d7 (diff)
downloadCMake-069a32b03c812569a143e09e7025be76995495a6.zip
CMake-069a32b03c812569a143e09e7025be76995495a6.tar.gz
CMake-069a32b03c812569a143e09e7025be76995495a6.tar.bz2
Tests/RunCMake/CXXModules: split out collation-requiring tests
Visual Studio does not currently have a place to insert the logic required to implement this test, so skip it if possible.
Diffstat (limited to 'Tests/RunCMake/CXXModules')
-rw-r--r--Tests/RunCMake/CXXModules/RunCMakeTest.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
index 73853a0..b6eb340 100644
--- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
@@ -137,7 +137,6 @@ if ("named" IN_LIST CMake_TEST_MODULE_COMPILATION)
run_cxx_module_test(simple)
run_cxx_module_test(library library-static -DBUILD_SHARED_LIBS=OFF)
run_cxx_module_test(generated)
- run_cxx_module_test(public-req-private)
run_cxx_module_test(deep-chain)
run_cxx_module_test(duplicate)
set(RunCMake_CXXModules_NO_TEST 1)
@@ -146,6 +145,11 @@ if ("named" IN_LIST CMake_TEST_MODULE_COMPILATION)
run_cxx_module_test(scan_properties)
endif ()
+# Tests which require collation work.
+if ("collation" IN_LIST CMake_TEST_MODULE_COMPILATION)
+ run_cxx_module_test(public-req-private)
+endif ()
+
# Tests which use named modules in shared libraries.
if ("shared" IN_LIST CMake_TEST_MODULE_COMPILATION)
run_cxx_module_test(library library-shared -DBUILD_SHARED_LIBS=ON)