summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'upload-built-files'Brad King2011-04-058-45/+280
|\ | | | | | | | | | | | | | | | | 3e32db7 cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES 6b6f309 Add the FILES keyword to ctest_upload command 28cdd0a Don't tar/gz ctest_upload() files fbe4356 Change 'Files' tag to 'Upload' in Upload.xml 350546d Implement ctest_upload command
| * cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILESZach Mullen2011-03-311-1/+1
| |
| * Add the FILES keyword to ctest_upload commandZach Mullen2011-03-152-13/+31
| |
| * Don't tar/gz ctest_upload() filesZach Mullen2011-03-151-2/+2
| |
| * Change 'Files' tag to 'Upload' in Upload.xmlZach Mullen2011-03-151-2/+2
| |
| * Implement ctest_upload commandZach Mullen2011-03-158-45/+262
| |
* | CTest: catch warning output of Apache MavenRolf Eike Beer2011-03-181-1/+3
|/ | | | | | | | | | | | | | Some samples of things that got unnoticed by our nightly builds: $ JAVA_HOME= mvn Warning: JAVA_HOME environment variable is not set. ... $ mvn [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE ...
* Merge topic 'ctest-remove-trailing-whitespace'Brad King2011-03-154-71/+71
|\ | | | | | | | | a1711f1 Remove trailing whitespace
| * Remove trailing whitespaceBrad King2011-03-114-71/+71
| |
* | CTest: Do not fail with submodules and Git < 1.6.5.0Brad King2011-03-101-2/+1
| | | | | | | | | | | | | | | | | | | | Several major Linux distributions still do not provide Git >= 1.6.5.0 in their stable package lists. Prior to commit 1173cc4a (Update Git submodules with --recursive, 2011-02-22) CTest was able to use older Git versions but simply silently failed to update submodules recursively. Instead of failing with older Git versions preserve the status quo and add a warning in the update log. Users testing projects with recursive submodules may simply update to a Git new enough to support them.
* | CTest: Update Git submodules with --recursiveBrad King2011-02-222-1/+47
| | | | | | | | | | | | Fail if submodules exist and the git version is less than 1.6.5.0. Inspired-by: Johan Björk <phb@spotify.com>
* | Merge topic 'fix-11877-sort-tests-correctly'Brad King2011-02-221-1/+1
|\ \ | | | | | | | | | | | | 8af8eab Use stable_sort to preserve test order (#11877)
| * | Use stable_sort to preserve test order (#11877)David Cole2011-02-181-1/+1
| |/ | | | | | | | | | | Using sort results in a possibly-modified sorting when all elements are "tied" - use stable_sort instead to preserve the original ordering of tied elements.
* | CTest: Use the gcov --preserve-paths flag (#11717)Marco Craveiro2011-02-091-1/+1
|/ | | | | | | | | To avoid name clashes. Before this commit, name clashes can occur when invoking gcov on a project that uses the same file name in different directories. The --preserve-paths flag ensures all file names have a complete path, avoiding name clashes.
* Merge topic 'ctest-launch-empty-rule'Brad King2011-01-111-0/+7
|\ | | | | | | | | 6228abe CTest: Teach launcher to ignore empty/no-op make commands
| * CTest: Teach launcher to ignore empty/no-op make commandsChuck Atkins2011-01-101-0/+7
| |
* | Merge topic 'improve-build-error-detection'Brad King2011-01-111-2/+3
|\ \ | | | | | | | | | | | | 89eb4bf Improve build error detection.
| * | Improve build error detection.David Cole2011-01-051-2/+3
| |/ | | | | | | | | Some were missed recently on a failed dashboard build of ccmake on an HP-UX machine.
* | Merge topic 'fix-test-output-truncation'Brad King2011-01-111-47/+28
|\ \ | |/ |/| | | | | e73bf1c CTest: Do not truncate UTF-8 test output too early (#10656)
| * CTest: Do not truncate UTF-8 test output too early (#10656)Brad King2011-01-041-47/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit e4beefeb (CTest: Do not munge UTF-8 output in XML files, 2009-12-08) we validate UTF-8 encoding of build and test output as it is written to XML files. However, in cmCTestTestHandler::CleanTestOutput we still processed test output one byte at a time and did not recognize multi-byte UTF-8 characters. Presence of such characters caused early truncation. Teach CleanTestOutput to truncate test output at the limit but without cutting it in the middle of a multi-byte encoding. Also, stop avoiding truncation in the middle of an XML tag like "<MyElement>" because the '<' and '>' will be properly escaped in the generated XML anyway.
* | Merge topic 'negative-test-costs'Brad King2011-01-041-11/+13
|\ \ | | | | | | | | | | | | 6b0c7de Support explicitly set test costs in non-parallel testing.
| * | Support explicitly set test costs in non-parallel testing.Zach Mullen2011-01-031-11/+13
| |/
* | Test TIMEOUT property explicitly set to zero should be honoredZach Mullen2011-01-034-5/+13
|/
* Merge topic 'dev/add_test-working-directory'Brad King2010-12-281-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 667a90a Fix sentence break in add_test documentation 96309fc Make TestsWorkingDirectory test a C file a4a5e37 Use iostream to make Borland happy cfe53cd Fully specify the path to old-signature add_test 017d4e9 Group adding tests with its properties 561cc33 Only test the default cwd with Makefiles d87bae7 Simplify the _default_cwd derivation 992c74f Use --><-- markers to denote the path 5249551 Flip slashes around on Windows 0a014da Add ctype.h include for toupper() af12f83 Fix header includes for C++ and Visual Studio 5597aa2 Rename the project to match the test 9bf4165 Add tests for WORKING_DIRECTORY arg to add_test 42de5d0 Add WORKING_DIRECTORY argument to add_test 7679f9f Rename WorkingDirectory test d95f817 Add the WORKING_DIRECTORY property to tests
| * Add the WORKING_DIRECTORY property to testsRolf Eike Beer2010-12-161-1/+4
| |
* | 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
| | | | | |