summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-match-valgrind'Brad King2012-03-131-1/+1
|\ | | | | | | | | ea4416c CTest: Match valgrind errors with "points to" (#12922)
| * CTest: Match valgrind errors with "points to" (#12922)Alexandru Ciobanu2012-03-091-1/+1
| | | | | | | | | | Teach CTest to match valgrind errors of the format "Syscall param ... points to uninitialised byte(s)".
* | CTest: Detect Xcode error "Command ... failed with exit code"Alexandru Ciobanu2012-03-091-0/+1
| |
* | Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-2914-51/+51
| | | | | | | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* | CTest: mark all gcov covered files as coveredRolf Eike Beer2012-02-151-1/+1
|/ | | | | | | | | | | Even if there are no lines covered in the file the gcov coverage report still contains valueable information, the amount of uncovered lines and which exactly they are. Set 'Covered="true"' for files we have a gcov report for even if they have no lines covered. Otherwise CDash will neither show the uncovered line count nor the detailed coverage report for this file. When CTEST_EXTRA_COVERAGE_GLOB was used to collect otherwise uncovered files 'Covered="true"' was unconditionally set, so this can't be worse here.
* CTest: Recognize Intel errors without space before colon (#12627)Brad King2011-12-151-1/+1
| | | | | | | | Fix the regex meant to match errors of the form: C:\some\dir\source.cpp(17): catastrophic error: could not open source file "some_header.h" to make the space between ')' and ':' optional.
* Merge topic 'some-documentation-fixes'David Cole2011-10-252-14/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ceff6ec ccmake: Factor toggle key help instructions. 19da106 ccmake: Document '/' key. fd63219 ccmake: Align 'g' and 'q' key instructions. bfb0ed4 Usage: Add missing exepath argument in get_prerequisites documentation. de51264 Usage: Print help, version and copyright options in usage information. 9ae0604 Usage: Document all options printing the version number. 3353d84 Usage: Document all options printing usage information. 1b612ca Usage: Document -j|--parallel option in help message. 6be15ed Doxygen: Remove dependency on VTK when building doxygen. a92f14f Doxygen: Fix warnings. faede37 Doxygen: Generate call graph and relationships. dd13ecd Doxygen: Improve code documentation. d0b3a7f Fix typo. d3d7e45 Remove trailing white-spaces.
| * Doxygen: Fix warnings.Nicolas Despres2011-10-232-2/+4
| |
| * Remove trailing white-spaces.Nicolas Despres2011-10-231-12/+12
| |
* | CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490)David Cole2011-10-221-2/+7
|/ | | | | | | | | | | | | | COVERAGE_EXTRA_FLAGS is a space separated value of extra flags that will be passed to gcov when ctest's coverage handler invokes gcov to do coverage analysis. Map to CoverageExtraFlags in the CTest ini file. Use default value of "-l" to match the coverage handler's earlier behavior from ctest 2.8.4 and earlier. The fix for related issue #11717 had added a " -p" which was the cause of both #12415 and #12490. Here, we revert that change to the default value, so -p is no longer there by default. The people that care to add -p may do so in their own build trees by appending " -p" to the new cache variable COVERAGE_EXTRA_FLAGS.
* CTest: Fix crash when variables are not definedDavid Cole2011-10-141-2/+2
| | | | Avoiding dereference of NULL pointers is always good.
* Merge topic 'fix-12260-fix-valgrind-output-parsing'David Cole2011-09-071-12/+12
|\ | | | | | | | | eb4af16 CTest: Fixed valgrind output parsing (#12260)
| * CTest: Fixed valgrind output parsing (#12260)Johannes Stallkamp2011-09-051-12/+12
| | | | | | | | | | | | Previous code was missing some matches in the output. This commit fixes the regular expressions used for output matching to detect numbers reported with commas in them, too.
* | CTest: Fix memory leaks on errorThomas Jarosch2011-09-022-0/+3
|/ | | | | | Credit goes to "cppcheck". Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
* Fix line too long style violationDavid Cole2011-08-031-1/+2
|
* CTest: print failed tests in index order (#11746)David Cole2011-08-032-5/+18
| | | | | | | | This deterministic ordering makes it easier for a developer comparing the ctest output of two test runs to see what changed from run to run. Thanks to Fraser Hutchison for the patch.
* RunSingleCommand: Replace verbose boolean with enumJohan Björk2011-07-283-4/+8
| | | | | No behaviour change, this prepares for adding a flag to skip the merging of output streams.
* CTest: Report tests not run due to unknown configurationBrad King2011-06-102-0/+28
| | | | | | | | | | | | | When add_test(NAME) is called without the CONFIGURATIONS argument then the test is intended to run in any configuration. In multi-config generators like the VS IDE and Xcode tests created by add_test(NAME) can only be run when testing a known configuration (otherwise there is no way to generate the test command line). If no test command line is known for a particular configuration, or if no configuration is given to ctest, report the test as not run instead of silently skipping it. Also fix CMake's own TestsWorkingDirectory test invocation to correct a previously silent failure exposed by this change.
* Fix a memory leak.Bill Hoffman2011-06-061-0/+1
|
* We will actually compress memcheck output if the server supports it.Zach Mullen2011-05-262-7/+22
| | | | | This change won't be functional until the next release of CDash due to the version comparison.
* Dynamic analysis test output should not be compressed.Zach Mullen2011-04-291-2/+3
|
* 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)