summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-08 12:44:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-10-08 12:45:26 (GMT)
commitdc371e07fb55cb3c9745b1cf4cfeb8d09d6035f8 (patch)
tree81bbbde11a1bc338fe8fbb7f13827e83424e6743 /Tests
parent1de987a7e9c0804b5b8d2bd8045725244cf167c2 (diff)
parentfa07ddfebf69b5ea88799562ead7f6356e28ae01 (diff)
downloadCMake-dc371e07fb55cb3c9745b1cf4cfeb8d09d6035f8.zip
CMake-dc371e07fb55cb3c9745b1cf4cfeb8d09d6035f8.tar.gz
CMake-dc371e07fb55cb3c9745b1cf4cfeb8d09d6035f8.tar.bz2
Merge topic 'project-vars'
fa07ddfebf project: Only check non-cache vars when setting project vars Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9883
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/project/RunCMakeTest.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tests/RunCMake/project/RunCMakeTest.cmake b/Tests/RunCMake/project/RunCMakeTest.cmake
index e6e1bdb..ed4b8ba 100644
--- a/Tests/RunCMake/project/RunCMakeTest.cmake
+++ b/Tests/RunCMake/project/RunCMakeTest.cmake
@@ -45,7 +45,6 @@ run_cmake(ProjectIsTopLevel)
run_cmake(ProjectIsTopLevelMultiple)
run_cmake(ProjectIsTopLevelSubdirectory)
run_cmake(ProjectTwice)
-run_cmake(SameProjectVarsSubdir)
run_cmake(VersionAndLanguagesEmpty)
run_cmake(VersionEmpty)
run_cmake(VersionInvalid)
@@ -63,4 +62,10 @@ run_cmake(CMP0096-WARN)
run_cmake(CMP0096-OLD)
run_cmake(CMP0096-NEW)
+# We deliberately run these twice to verify behavior of the second CMake run
+run_cmake(SameProjectVarsSubdir)
+set(RunCMake_TEST_NO_CLEAN 1)
+run_cmake(SameProjectVarsSubdir)
+set(RunCMake_TEST_NO_CLEAN 0)
+
run_cmake(NoMinimumRequired)