summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-20 10:58:50 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-20 10:58:50 -0400
commit0902d2918e1da15832f1d141d534734cc5f62d84 (patch)
tree44f719afd4a6808b4d36ec619f4d895aab2060ff
parent1b0b6b56e46bda59aef32f05bb07bce2b349e4df (diff)
downloadcmake-0902d2918e1da15832f1d141d534734cc5f62d84.tar.gz
ENH: set expected failure for tests
-rw-r--r--Tests/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 5be6911a6b..5bf4c823f9 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -551,6 +551,15 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
IF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
SET_TESTS_PROPERTIES(ExternalProject PROPERTIES TIMEOUT 1000)
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
FOREACH(STP RANGE 1 7)