summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-git-send-committer'Brad King2010-12-213-22/+43
|\ | | | | | | | | | | 5992526 CTest: Factor out duplicate Git author/committer code 307b8a6 CTest git update should pass the committer as well as the author
| * CTest: Factor out duplicate Git author/committer codeBrad King2010-12-201-44/+28
| | | | | | | | | | Factor out date/time format code into FormatDateTime function instead of duplicating it.
| * CTest git update should pass the committer as well as the authorZach Mullen2010-12-203-0/+37
| |
* | Merge topic 'fix-11487-multiple-test-calls'Brad King2010-12-211-0/+2
|\ \ | | | | | | | | | | | | 744366f CTest: multiple ctest_test calls w/LABEL regexs (#11487)
| * | CTest: multiple ctest_test calls w/LABEL regexs (#11487)Clinton Stimpson2010-12-171-0/+2
| |/ | | | | | | | | The Initialize method was not re-initializing everything that it should have been. This commit fixes that.
* | CTest: Fix line-too-long style in DEPEND cycle errorBrad King2010-12-161-4/+4
| |
* | CTest: Fix test DEPEND cycle detectionBrad King2010-12-151-16/+21
|/ | | | | | | A cycle exists when the DFS returns to the root node, not just when multiple paths lead to the same node. Inspired-By: Alexander Esilevich <aesilevich@pathscale.com>
* CTest: Fix ctest_sleep documentation (#11554)Brad King2010-12-091-5/+4
| | | | Document behavior consistently with the implementation.
* Remove debugging message from parallel ctestZach Mullen2010-12-011-6/+0
|
* When processing DartMeasurements use the tests working directory.Bill Hoffman2010-10-191-0/+10
| | | | Restore CMake 2.6 behavoir where the dart processing apparently was run from within the tests directory instead of the root of the build tree. This addresses issue reported on the VTK Dashboard where the Testing/Temporary directory is defined as ../../../Testing/Temporary but the DartProcessing is run with respect to the root of the build tree. This causes the regression/difference images to not be located by ctest and thus not uploaded to the dashboard.
* Added CTest command --print-labelsZach Mullen2010-08-313-2/+50
| | | | | | This command allows a user to quickly see the list of all available test labels. The labels are also printed in verbose show only mode, alongside their corresponding tests.
* CTest: Avoid use of old EscapeSpaces methodBrad King2010-08-184-44/+44
| | | | | | | | Refactor how cmCTestMemCheckHandler computes the memory tester command line options to avoid encoding them in a single string just to parse them again. The EscapeSpaces uses backslahes to escape spaces on UNIX platforms, so replace other calls to it in CTest that are used to create human-readable strings with simple double-quoting.
* Merge topic 'ctest-git-flexibility'Brad King2010-08-032-2/+87
|\ | | | | | | | | | | | | a7319cf ctest_update: Run 'git submodule' at top level 7bf8dc1 ctest_update: Support ".git file" work trees 65cb72f ctest_update: Abort if Git FETCH_HEAD has no candidates
| * ctest_update: Run 'git submodule' at top levelBrad King2010-07-272-1/+25
| | | | | | | | | | | | | | | | The git submodule porcelain must be executed from the top level of the work tree. Use 'git rev-parse --show-cdup' to find the top level relative to the source tree. This is better than searching up the tree for .git ourselves because it will always work the same way Git does and thus honors settings like GIT_DISCOVERY_ACROSS_FILESYSTEM.
| * ctest_update: Support ".git file" work treesBrad King2010-07-262-1/+56
| | | | | | | | | | | | | | Commit c3781efb (Support Git upstream branch rewrites, 2010-06-08) assumed that ".git/FETCH_HEAD" exists inside the source tree. Fix the implementation to handle a work tree using a ".git file" to link to its repository. Use "git rev-parse --git-dir" to locate the real .git dir.
| * ctest_update: Abort if Git FETCH_HEAD has no candidatesBrad King2010-07-201-0/+6
| | | | | | | | | | | | If .git/FETCH_HEAD provides no merge candidate do not attempt to update. Also log FETCH_HEAD lines as we parse them since they are essentially output from the git fetch command.
* | Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-203-5/+5
|\ \ | | | | | | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * \ Merge CPackRPM changes into doc-spellingBrad King2010-07-134-12/+17
| |\ \ | | | | | | | | | | | | | | | | Conflicts: Modules/CPackRPM.cmake
| * | | Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-133-5/+5
| | | | | | | | | | | | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | | | Merge topic 'resolve/ctest-file-checksum/remove-CTestTest3'Brad King2010-07-134-9/+232
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38c762c Merge 'remove-CTestTest3' into ctest-file-checksum 46df0b4 Activate retry code on any curl submit failure. 8705497 Checksum test should use CMAKE_TESTS_CDASH_SERVER d0d1cdd Mock checksum failure output for old CDash versions af5ef0c Testing for CTest checksum 86e81b5 CTest should resubmit in the checksum failed case d6b7107 Fix subscript out of range crash 082c87e Cross-platform fixes for checksum/retry code e525649 Checksums on CTest submit files, and retry timed out submissions.
| * \ \ \ Merge 'remove-CTestTest3' into ctest-file-checksumBrad King2010-07-136-68/+349
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * | | | | Activate retry code on any curl submit failure.David Cole2010-07-121-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were only going into the retry block for time out conditions. But a "could not connect" response, or really any sort of curl failure, is also a condition where we should retry the submit if the user has requested a retry.
| * | | | | Mock checksum failure output for old CDash versionsZach Mullen2010-06-101-0/+13
| | | | | |
| * | | | | Testing for CTest checksumZach Mullen2010-06-103-27/+47
| | | | | |
| * | | | | CTest should resubmit in the checksum failed caseZach Mullen2010-06-051-17/+26
| | | | | |
| * | | | | Fix subscript out of range crashZach Mullen2010-06-031-1/+4
| | | | | |
| * | | | | Cross-platform fixes for checksum/retry codeZach Mullen2010-06-032-16/+27
| | | | | |
| * | | | | Checksums on CTest submit files, and retry timed out submissions.Zach Mullen2010-06-034-19/+185
| | | | | |
* | | | | | Merge topic 'external-project-launcher'Brad King2010-07-131-5/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2634b6 Detect CMake warnings and errors in build output. 012c986 ExternalProject: Add LOG_* options to hide step output
| * | | | | | Detect CMake warnings and errors in build output.David Cole2010-07-101-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix niggly in ExternalProject that would inadvertently create a log file of output when a command was explicitly set to the empty string. Also, increase the default value for showing context around build errors to 10 lines, up from 6. Also add the ability to customize this setting so that users can put it back to 6 or even lower if they want, or show more if they want.
* | | | | | | Merge branch 'improve-test-cost-sorting'Brad King2010-07-062-59/+60
|\ \ \ \ \ \ \
| * | | | | | | More robust cost-based scheduling implZach Mullen2010-07-012-59/+60
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Fix cycle detection for test dependenciesZach Mullen2010-06-301-17/+12
|/ / / / / /
* | | | | | Eliminate -Wconversion warnings.David Cole2010-06-274-12/+17
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Change types of local variables, or casting, or re-arrange expressions to get rid of "conversion may alter value" warnings as seen on recent dashboard submissions from londinium.kitware.
* | | | | Merge branch 'ctest-git-empty-commits'Brad King2010-06-241-0/+9
|\ \ \ \ \
| * | | | | CTest: Parse empty Git commits correctlyBrad King2010-06-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git's diff-tree format has no '\n'-terminated blank line at the end of its commit message body block if there are no diff lines. Instead the message body is terminated by '\0' and there is no diff section. Teach CTest to parse the format in this case.
* | | | | | Merge branch 'fix-ctest-parallel'Brad King2010-06-241-1/+1
|\ \ \ \ \ \
| * | | | | | Parallel CTest hangs if serial test has dependsZach Mullen2010-06-231-1/+1
| |/ / / / /
* | | | | | Merge branch 'fix_ctest_failure_code'Brad King2010-06-243-2/+8
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix for bug #10859, ctest exit exception incorrectly reported.Bill Hoffman2010-06-223-2/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | CTest was using the return value from the program instead of the exit exception value for the process.
* | | | | Merge branch 'doc_ctest_build_target'Brad King2010-06-221-3/+5
|\ \ \ \ \
| * | | | | Document ctest_build() TARGET optionZach Mullen2010-06-151-3/+5
| | |_|/ / | |/| | |
* | | | | Merge branch 'fix-stoptime-mem-leak'Brad King2010-06-225-6/+32
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Do not exit if stoptime is passed.Zach Mullen2010-06-155-6/+32
| |/ / /
* | | | Merge branch 'ctest-git-flexibility'Brad King2010-06-153-17/+87
|\ \ \ \ | | |_|/ | |/| |
| * | | ctest_update: Support Git upstream branch rewritesBrad King2010-06-082-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use 'git fetch' followed by 'git reset' to update the source tree. This is better than 'git pull' because it can handle a rewritten upstream branch and does not leave local modifications. After fetch, parse FETCH_HEAD to find the merge head that 'git pull' would choose to track the upstream branch. Then reset to the selected head. In the normal fast-forward case the behavior remains unchanged. However, now local modifications and commits will be erased, and upstream rewrites are handled smoothly. This ensures that the upstream branch is tested as expected.
| * | | ctest_update: Support custom Git update commandBrad King2010-06-083-7/+50
| |/ / | | | | | | | | | | | | Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a custom command line for updating Git-managed source trees.
* | | Extra coverage glob should subtract the explicitly defined excluded filesZach Mullen2010-06-111-2/+6
|/ /
* | Merge branch 'ctest-update-git-submodule'Brad King2010-06-071-1/+1
|\ \
| * | Fix ctest_update log prefix for git submodule updateBrad King2010-06-041-1/+1
| |/ | | | | | | | | | | | | Commit 67277bac (Teach ctest_update about Git submodules, 2010-05-04) accidentally logged "git submodule update" with the prefixes "pull-out" and "pull-err". Fix it to use "submodule-out" and "submodule-err" instead.