[Cmake-commits] [cmake-commits] king committed CTest.cmake 1.10 1.11

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 17 11:10:34 EDT 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv2867/Modules

Modified Files:
	CTest.cmake 
Log Message:
ENH: Avoid printing message about unknown repository type repeatedly in CTest.


Index: CTest.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CTest.cmake,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** CTest.cmake	17 Dec 2007 22:05:07 -0000	1.10
--- CTest.cmake	17 Mar 2008 15:10:32 -0000	1.11
***************
*** 105,109 ****
  
    IF(NOT UPDATE_TYPE)
!     MESSAGE(STATUS "Cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.")
    ENDIF(NOT UPDATE_TYPE)
  
--- 105,112 ----
  
    IF(NOT UPDATE_TYPE)
!     IF(NOT __CTEST_UPDATE_TYPE_COMPLAINED)
!       SET(__CTEST_UPDATE_TYPE_COMPLAINED 1 CACHE INTERNAL "Already complained about update type.")
!       MESSAGE(STATUS "CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.")
!     ENDIF(NOT __CTEST_UPDATE_TYPE_COMPLAINED)
    ENDIF(NOT UPDATE_TYPE)
  



More information about the Cmake-commits mailing list