STYLE: first lower-casing the string makes comparing its contents easier
Alex
This commit is contained in:
parent
352fb9ff66
commit
8e03bfb57d
|
@ -122,15 +122,16 @@ IF(BUILD_TESTING)
|
|||
ENDIF(NOT __CTEST_UPDATE_TYPE_COMPLAINED)
|
||||
ENDIF(NOT UPDATE_TYPE)
|
||||
|
||||
IF(UPDATE_TYPE MATCHES "[Cc][Vv][Ss]")
|
||||
STRING(TOLOWER "${UPDATE_TYPE}" _update_type)
|
||||
IF("${_update_type}" STREQUAL "cvs")
|
||||
SET(UPDATE_COMMAND "${CVSCOMMAND}")
|
||||
SET(UPDATE_OPTIONS "${CVS_UPDATE_OPTIONS}")
|
||||
ELSE(UPDATE_TYPE MATCHES "[Cc][Vv][Ss]")
|
||||
IF(UPDATE_TYPE MATCHES "[Ss][Vv][Nn]")
|
||||
ELSE("${_update_type}" STREQUAL "cvs")
|
||||
IF("${_update_type}" STREQUAL "svn")
|
||||
SET(UPDATE_COMMAND "${SVNCOMMAND}")
|
||||
SET(UPDATE_OPTIONS "${SVN_UPDATE_OPTIONS}")
|
||||
ENDIF(UPDATE_TYPE MATCHES "[Ss][Vv][Nn]")
|
||||
ENDIF(UPDATE_TYPE MATCHES "[Cc][Vv][Ss]")
|
||||
ENDIF("${_update_type}" STREQUAL "svn")
|
||||
ENDIF("${_update_type}" STREQUAL "cvs")
|
||||
|
||||
SET(DART_TESTING_TIMEOUT 1500 CACHE STRING
|
||||
"Maximum time allowed before CTest will kill the test.")
|
||||
|
|
Loading…
Reference in New Issue