ENH: New variables CVS_UPDATE_OPTIONS, DART_TESTING_TIMEOUT

This commit is contained in:
Jim Miller 2002-01-22 14:15:15 -05:00
parent a249b4d188
commit 5ceb05f2ba
1 changed files with 9 additions and 0 deletions

View File

@ -27,12 +27,18 @@ IF(BUILD_TESTING)
# make program just needs to use CMAKE_MAKE_PROGRAM which is required
# to be defined by cmake
SET(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM})
FIND_PROGRAM(CVSCOMMAND cvs )
SET(CVS_UPDATE_OPTIONS "-d -A -P" CACHE STRING "Options passed to the cvs update command.")
SET(DART_TESTING_TIMEOUT 1500 CACHE STRING "Time alloted for a test before Dart will kill the test.")
FIND_PROGRAM(COMPRESSIONCOMMAND NAMES gzip compress zip
DOC "Path to program used to compress files for transfer to the dart server")
FIND_PROGRAM(GUNZIPCOMMAND gunzip DOC "Path to gunzip executable")
FIND_PROGRAM(JAVACOMMAND java DOC "Path to java command, used by the Dart server to create html.")
FIND_PROGRAM(PURIFYCOMMAND purify DOC "Path to Rational purify command, used for memory error detection.")
FIND_PROGRAM(SCPCOMMAND scp DOC "Path to scp command, used by some Dart clients for submitting results to a Dart server (when not using ftp for submissions)")
# find a tcl shell command
INCLUDE(${CMAKE_ROOT}/Modules/FindTclsh.cmake)
@ -60,6 +66,9 @@ IF(BUILD_TESTING)
GUNZIPCOMMAND
COMPRESSIONCOMMAND
CVSCOMMAND
CVS_UPDATE_OPTIONS
DART_TESTING_TIMEOUT
SCPCOMMAND
DELIVER_CONTINUOUS_EMAIL
)