[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.95 1.96

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jul 20 10:58:56 EDT 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv28342

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: set expected failure for tests


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.95
retrieving revision 1.96
diff -C 2 -d -r1.95 -r1.96
*** CMakeLists.txt	12 Jul 2009 18:52:31 -0000	1.95
--- CMakeLists.txt	20 Jul 2009 14:58:50 -0000	1.96
***************
*** 552,555 ****
--- 552,564 ----
      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



More information about the Cmake-commits mailing list