summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-071-0/+3
| | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
* cmCTest: Use concrete accessor functions for TestingHandlersRegina Pfeifer2019-03-201-7/+3
|
* Use C++11 nullptrDaniel Pfeifer2017-08-241-2/+2
|
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-251-0/+4
|
* use CM_NULLPTRDaniel Pfeifer2016-06-281-2/+2
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-63/+65
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* cmCTestGIT: add an option to initialize submodules on updateBen Boeckel2016-04-011-0/+2
| | | | | | | Currently, CTest will not initialize any submodules within the already checked out source tree. Add an option to do so. The use case for not doing so is that some submodules may not be necessary for the current test and keeping network usage down may be important.
* ctest_update: Add QUIET optionZack Galbreath2015-02-231-21/+23
|
* ctest_update: Add CTEST_UPDATE_VERSION_ONLY option to only note the versionBill Hoffman2014-08-181-0/+2
| | | | | | | This allows ctest_update to get the current version without actually changing the repository. This is useful when using Jenkins or an external project to update the source to a specific version, but you still want the current version to show up in CDash.
* ctest_update: Add support for Perforce p4 clientPedro Navarro2013-10-261-0/+8
| | | | | | | | | | | 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.
* ctest_update: Tell svn not to prompt interactively (#13024)Nils Gladitz2012-09-251-0/+2
| | | | | While at it, add SVNOptions/CTEST_SVN_OPTIONS configuration settings to add options to all svn invocations instead of just "svn update".
* ctest_update: Support custom Git update commandBrad King2010-06-081-0/+2
| | | | | Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a custom command line for updating Git-managed source trees.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-241-26/+0
| | | | | | | | | | | | | | | | | | | | In CTest command-driven script mode we support starting without a source tree. Previously the ctest_start() command would do some initialization but could not do anything that required CTestConfig.cmake from the input source tree. Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to create the source tree, and then re-initialize everything. This delayed-initialization approach led to many complicated cases of which only some worked. For example, the second initialization only worked correctly in Nightly mode and simply failed for Experimental and Continuous builds. A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start() and then have a single initialization path. In principle this change in behavior could break scripts that set the checkout command after ctest_start() but before ctest_update(). However, the convention we've always followed has been to set all variables before ctest_start(). See issue #9450.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Teach CTest to handle Mercurial repositoriesBrad King2009-07-101-0/+4
| | | | | | | | | | | This creates cmCTestHG to drive CTest Update handling on hg-based work trees. Currently we always update to the head of the remote tracking branch (hg pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #7879. Patch from Emmanuel Christophe. I modified the patch slightly for code style, to finish up some parsing details, and to fix the test.
* ENH: Teach CTest to handle Bazaar repositoriesBrad King2009-05-141-0/+4
| | | | | | | | This creates cmCTestBZR to drive CTest Update handling on bzr-based work trees. Currently we always update to the head of the remote tracking branch (bzr pull), so the nightly start time is ignored for Nightly builds. A later change will address this. Patch from Tom Vercauteren. See issue #6857.
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-221-0/+4
| | | | | | | This creates cmCTestGIT to drive CTest Update handling on git-based work trees. Currently we always update to the head of the remote tracking branch (git pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #6994.
* BUG: Try to fix the problem of bad test namesAndy Cedilnik2006-07-111-2/+4
|
* STYLE: fix line lengthKen Martin2006-05-101-1/+2
|
* COMP: Return 0 instead of falseAndy Cedilnik2006-03-291-3/+3
|
* ENH: Several cleanups and make sure things get propagated where they should. ↵Andy Cedilnik2006-03-291-60/+18
| | | | Also, allow to load CTest custom files to the actual ctest -S script
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-9/+9
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-7/+8
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-15/+27
|
* ENH: Set update optionsAndy Cedilnik2005-08-181-0/+3
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-1/+1
| | | | multiple submited files
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+1
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Several improvements to CTest:Andy Cedilnik2005-06-161-2/+27
| | | | | | | | | 1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout
* ENH: Improve syntaxAndy Cedilnik2005-05-041-10/+51
|
* ENH: CleanupsAndy Cedilnik2005-05-031-2/+2
|
* ENH: More commands. Start working on new style ctest configurationAndy Cedilnik2005-05-021-0/+3
|
* ENH: Cleanups and add CTEST_UPDATE commandAndy Cedilnik2005-02-171-0/+48