mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 15:30:40 +00:00
970c82348b
Teach the ctest_update implementation to use the p4 command-line client to perform updates and extract the list of changes. Add a CTest.UpdateP4 test like those that exist already for the other version control tools. Make the test available when p4 and the p4d server are found. During the test launch p4d in the background to serve a repository from the test directory. Then direct the client toward this server for the duration of the test.
102 lines
2.9 KiB
Tcl
102 lines
2.9 KiB
Tcl
# This file is configured by CMake automatically as DartConfiguration.tcl
|
|
# If you choose not to use CMake, this file may be hand configured, by
|
|
# filling in the required variables.
|
|
|
|
|
|
# Configuration directories and files
|
|
SourceDirectory: @PROJECT_SOURCE_DIR@
|
|
BuildDirectory: @PROJECT_BINARY_DIR@
|
|
|
|
# Where to place the cost data store
|
|
CostDataFile: @CTEST_COST_DATA_FILE@
|
|
|
|
# Site is something like machine.domain, i.e. pragmatic.crd
|
|
Site: @SITE@
|
|
|
|
# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++
|
|
BuildName: @BUILDNAME@
|
|
|
|
# Submission information
|
|
IsCDash: @CTEST_DROP_SITE_CDASH@
|
|
CDashVersion: @CTEST_CDASH_VERSION@
|
|
QueryCDashVersion: @CTEST_CDASH_QUERY_VERSION@
|
|
DropSite: @DROP_SITE@
|
|
DropLocation: @DROP_LOCATION@
|
|
DropSiteUser: @DROP_SITE_USER@
|
|
DropSitePassword: @DROP_SITE_PASSWORD@
|
|
DropSiteMode: @DROP_SITE_MODE@
|
|
DropMethod: @DROP_METHOD@
|
|
TriggerSite: @TRIGGER_SITE@
|
|
ScpCommand: @SCPCOMMAND@
|
|
|
|
# Dashboard start time
|
|
NightlyStartTime: @NIGHTLY_START_TIME@
|
|
|
|
# Commands for the build/test/submit cycle
|
|
ConfigureCommand: "@CMAKE_COMMAND@" "@PROJECT_SOURCE_DIR@"
|
|
MakeCommand: @MAKECOMMAND@
|
|
DefaultCTestConfigurationType: @DEFAULT_CTEST_CONFIGURATION_TYPE@
|
|
|
|
# CVS options
|
|
# Default is "-d -P -A"
|
|
CVSCommand: @CVSCOMMAND@
|
|
CVSUpdateOptions: @CVS_UPDATE_OPTIONS@
|
|
|
|
# Subversion options
|
|
SVNCommand: @SVNCOMMAND@
|
|
SVNOptions: @CTEST_SVN_OPTIONS@
|
|
SVNUpdateOptions: @SVN_UPDATE_OPTIONS@
|
|
|
|
# Git options
|
|
GITCommand: @GITCOMMAND@
|
|
GITUpdateOptions: @GIT_UPDATE_OPTIONS@
|
|
GITUpdateCustom: @CTEST_GIT_UPDATE_CUSTOM@
|
|
|
|
# Perforce options
|
|
P4Command: @P4COMMAND@
|
|
P4Client: @CTEST_P4_CLIENT@
|
|
P4Options: @CTEST_P4_OPTIONS@
|
|
P4UpdateOptions: @CTEST_P4_UPDATE_OPTIONS@
|
|
P4UpdateCustom: @CTEST_P4_UPDATE_CUSTOM@
|
|
|
|
# Generic update command
|
|
UpdateCommand: @UPDATE_COMMAND@
|
|
UpdateOptions: @UPDATE_OPTIONS@
|
|
UpdateType: @UPDATE_TYPE@
|
|
|
|
# Compiler info
|
|
Compiler: @CMAKE_CXX_COMPILER@
|
|
|
|
# Dynamic analysis (MemCheck)
|
|
PurifyCommand: @PURIFYCOMMAND@
|
|
ValgrindCommand: @VALGRIND_COMMAND@
|
|
ValgrindCommandOptions: @VALGRIND_COMMAND_OPTIONS@
|
|
MemoryCheckCommand: @MEMORYCHECK_COMMAND@
|
|
MemoryCheckCommandOptions: @MEMORYCHECK_COMMAND_OPTIONS@
|
|
MemoryCheckSuppressionFile: @MEMORYCHECK_SUPPRESSIONS_FILE@
|
|
|
|
# Coverage
|
|
CoverageCommand: @COVERAGE_COMMAND@
|
|
CoverageExtraFlags: @COVERAGE_EXTRA_FLAGS@
|
|
|
|
# Cluster commands
|
|
SlurmBatchCommand: @SLURM_SBATCH_COMMAND@
|
|
SlurmRunCommand: @SLURM_SRUN_COMMAND@
|
|
|
|
# Testing options
|
|
# TimeOut is the amount of time in seconds to wait for processes
|
|
# to complete during testing. After TimeOut seconds, the
|
|
# process will be summarily terminated.
|
|
# Currently set to 25 minutes
|
|
TimeOut: @DART_TESTING_TIMEOUT@
|
|
|
|
UseLaunchers: @CTEST_USE_LAUNCHERS@
|
|
CurlOptions: @CTEST_CURL_OPTIONS@
|
|
# warning, if you add new options here that have to do with submit,
|
|
# you have to update cmCTestSubmitCommand.cxx
|
|
|
|
# For CTest submissions that timeout, these options
|
|
# specify behavior for retrying the submission
|
|
CTestSubmitRetryDelay: @CTEST_SUBMIT_RETRY_DELAY@
|
|
CTestSubmitRetryCount: @CTEST_SUBMIT_RETRY_COUNT@
|