Don't run the WarnUnusedCliUnused test on Windows.
Even with the NMake Makefiles generator, it is not able to properly clean up after the test. http://open.cdash.org/testDetails.php?test=193424220&build=2934501 Internal cmake changing into directory: C:/Dashboards/My Tests/CMake-nmake10-x64-continuous/Tests/WarnUnusedCliUnused Error: cmake execution failed CMake Error: Error: generator : NMake Makefiles Does not match the generator used previously: Visual Studio 10 Either remove the CMakeCache.txt file or choose a different binary directory.
This commit is contained in:
parent
273ecab96d
commit
6a6cda5b4a
|
@ -1618,7 +1618,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
|||
FAIL_REGULAR_EXPRESSION "CMake Warning .*VariableUnusedViaUnset.CMakeLists.txt:5 \\(set\\):")
|
||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedUnusedViaUnset")
|
||||
|
||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefile")
|
||||
if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefile" AND NOT WIN32)
|
||||
# Ninja does not support ADDITIONAL_MAKE_CLEAN_FILES and therefore fails
|
||||
# this test. (See #13371)
|
||||
# Apparently Visual Studio does not support it either. As the MakeClean
|
||||
|
|
Loading…
Reference in New Issue