mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
Tests: Move cache variable help string test
Even though it doesn't necessarily reuse infrastructure, the other cases in `RunCMake.CacheNewlines` are covering more similar code to this case than those in `RunCMake.Configure`.
This commit is contained in:
1 parent
053f02a41c
commit
50ce808ca7
3 files changed
+6
-6
No files matched your search
File renamed without changes.
@@ -14,3 +14,9 @@ endfunction()
|
||||
run_cmake_cache_newline_test(CacheNewlines)
|
||||
run_cmake_cache_newline_test(CacheStartsWithNewline)
|
||||
run_cmake_cache_newline_test(CacheSingleNewline)
|
||||
|
||||
block()
|
||||
run_cmake(CacheVarHelpString)
|
||||
set(RunCMake_TEST_NO_CLEAN 1)
|
||||
run_cmake(CacheVarHelpString)
|
||||
endblock()
|
||||
@@ -73,12 +73,6 @@ if(NOT RunCMake_GENERATOR MATCHES "^Ninja Multi-Config$")
|
||||
run_cmake(NoCMAKE_DEFAULT_CONFIGS)
|
||||
endif()
|
||||
|
||||
block()
|
||||
run_cmake(CacheVarHelpString)
|
||||
set(RunCMake_TEST_NO_CLEAN 1)
|
||||
run_cmake(CacheVarHelpString)
|
||||
endblock()
|
||||
|
||||
if(NOT CMAKE_HOST_WIN32)
|
||||
block()
|
||||
# Test a non-writable build directory.
|
||||
|
||||
Reference in new issue
Block a user