ENH: set expected failure for tests

This commit is contained in:
Bill Hoffman 2009-07-20 10:58:50 -04:00
parent 1b0b6b56e4
commit 0902d2918e
1 changed files with 9 additions and 0 deletions

View File

@ -551,6 +551,15 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
IF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND) IF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
SET_TESTS_PROPERTIES(ExternalProject PROPERTIES TIMEOUT 1000) SET_TESTS_PROPERTIES(ExternalProject PROPERTIES TIMEOUT 1000)
ENDIF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND) ENDIF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
# CustomCommand and ExternalProject fail because of this bug:
# http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=473709
# so for this version of the compiler with the IDE expect failure
IF("${MSVC_VERSION}" EQUAL 1600
AND "${CMAKE_TEST_GENERATOR}"
MATCHES "Visual Studio 10" )
SET_TESTS_PROPERTIES(ExternalProject PROPERTIES WILL_FAIL TRUE)
SET_TESTS_PROPERTIES(CustomCommand PROPERTIES WILL_FAIL TRUE)
ENDIF()
# do each of the tutorial steps # do each of the tutorial steps
FOREACH(STP RANGE 1 7) FOREACH(STP RANGE 1 7)