summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* ctest_update: Tell svn not to prompt interactively (#13024)Nils Gladitz2012-09-253-22/+62
| | | | | While at it, add SVNOptions/CTEST_SVN_OPTIONS configuration settings to add options to all svn invocations instead of just "svn update".
* cmCTestSVN: Load and process information from externalsXavier Besseron2012-09-041-6/+32
| | | | | Call LoadExternals() and perform operations on all elements of the Repositories list.
* cmCTestSVN: Add a LoadExternal() function and an ExternalParser classXavier Besseron2012-09-042-0/+53
| | | | | | This call 'svn status' and parse the result to get the list of externals repositories. The external repositories found are added to the Repositories list.
* cmCTestSVN: Use the SVNInfo structureXavier Besseron2012-09-042-77/+92
| | | | | | | - Suppress the URL, Root, Base fields from the cmCTestSVN class - Update the code to use RootInfo instead - LoadInfo(), GuessBase(), and a new LoadRevision() functions work on a given SVNInfo - Use the implementation from the base class for LocalPath(), correct path is built by SVNInfo::BuildLocalPath() instead
* cmCTestSVN: Create the SVNInfo for the root repositoryXavier Besseron2012-09-041-0/+3
|
* cmCTestSVN: Add the Repositories list and the RootInfo pointerXavier Besseron2012-09-041-0/+6
| | | | | | The Repository list will contain the SVNInfo of all the repositories (root and external ones). The RootInfo pointer will point to the SVNInfo structure of the root repository.
* cmCTestSVN: Extend Revision struct with SVN repo informationXavier Besseron2012-09-042-5/+13
| | | | Also rename DoRevision to DoRevisionSVN since the signature changes.
* cmCTestSVN: Add the new SVNInfo structureXavier Besseron2012-09-032-0/+51
| | | | | It represents information of an SVN repository. It can be the base repository or an external one.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-1328-156/+156
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* CTest: Extend -D command line arg handling for variable definitionsDavid Cole2012-06-241-0/+9
| | | | | | If the argument following -D is not a valid dashboard type string, then try to parse it as a "var:type=value" string just like cmake already does.
* Remove unused ivars to eliminate compiler warningsDavid Cole2012-06-201-2/+1
|
* Merge topic 'mumps_coverage'David Cole2012-05-179-4/+853
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c806b23 CDash now supports lots of files in coverage. So, show all files. 761d931 Do not try to run bullseye coverage if COVFILE env is empty. 5b69ce4 Update test data to match new coverage format. 1b418f1 Change GT.M Coverage Parser global b0c07a1 Disable bullseye coverage for mumps coverage test. 0a169e6 Remove uncovered files from cache coverage data. a7abf5e Add ability to specify more than one package directory or coverage directory. 220afca Use <TARGET_FILE> expression to run ctest so it works with Xcode and VS IDE. 62f6bce Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2. f5c5db0 Fix some warnings and a bug where it went past the length of a vector. 7955e99 Add support for Cache coverage. a86cd33 Add virutal destructor to silence warning. 319eeb0 Add test for mumps coverage. Also refactor code to prepare for cache coverage. 72210c2 Fix line length. dd07161 Fix warning about char* instead of const char*. e6412e0 Add support to ctest for GTM mumps coverage.
| * CDash now supports lots of files in coverage. So, show all files.Bill Hoffman2012-05-114-18/+5
| | | | | | | | | | | | Prior to this commit the mumps coverage only showed files that had at least one line of coverage. Now 0% covered files are shown as well.
| * Do not try to run bullseye coverage if COVFILE env is empty.Bill Hoffman2012-05-081-1/+1
| |
| * Change GT.M Coverage Parser globalJoseph Snyder2012-05-071-1/+1
| | | | | | | | | | | | The coverage global should be in the local namespace. This means the global will be ^ZZCOVERAGE instead of ^COVERAGE. Change the parser to look for ^ZZCOVERAGE instead of the old ^COVERAGE
| * Remove uncovered files from cache coverage data.Bill Hoffman2012-05-022-0/+38
| | | | | | | | | | | | Cache coverage data currently contains files with 0 coverage on each line. This change will remove those files from the coverage sent to CDash.
| * Add ability to specify more than one package directory or coverage directory.Bill Hoffman2012-05-021-16/+24
| |
| * Fix some warnings and a bug where it went past the length of a vector.Bill Hoffman2012-05-011-3/+10
| | | | | | | | | | | | Fix a kwstyle warning and an unused variable warning. Also fix a case where it could crash because a vector was referenced passed its end.
| * Add support for Cache coverage.Bill Hoffman2012-05-017-30/+285
| | | | | | | | | | This adds support for Cache coverage parsing. A test is added that does a basic run of the coverage on a small bit of data.
| * Add virutal destructor to silence warning.Bill Hoffman2012-05-012-0/+5
| |
| * Add test for mumps coverage. Also refactor code to prepare for cache coverage.Bill Hoffman2012-05-015-228/+308
| | | | | | | | | | Add a simple test to make sure the GTM mumps coverage is working. Also refactor the code so that cache coverage can be added.
| * Fix line length.Bill Hoffman2012-04-261-1/+2
| |
| * Fix warning about char* instead of const char*.Bill Hoffman2012-04-261-1/+1
| |
| * Add support to ctest for GTM mumps coverage.Bill Hoffman2012-04-255-3/+471
| |
* | CTest: Modify reg ex so it also works with gcov 4.7 output (#13121)David Cole2012-05-031-1/+1
| |
* | Merge topic 'kwsys-environ-cleanup'David Cole2012-05-012-6/+2
|\ \ | | | | | | | | | | | | | | | e48796b KWSys: Fix SystemTools environment memory handling (#13156) b10c5cb CTest: Simplify environment save/restore
| * | CTest: Simplify environment save/restoreBrad King2012-04-242-6/+2
| |/ | | | | | | | | | | | | | | Replace use of AppendEnv/RestoreEnv pairs with instances of SaveRestoreEnvironment. Simplify the signature of AppendEnv and use it in place of similar loops elsewhere. Move the RestoreEnv implementation inside the SaveRestoreEnvironment destructor which is the only place left that calls it.
* | Merge topic 'ctest_memcheck-xml-encoding'David Cole2012-05-011-1/+1
|\ \ | | | | | | | | | | | | 3da577d CTest: Escape MemCheck test output for XML (#13124)
| * | CTest: Escape MemCheck test output for XML (#13124)Brad King2012-04-261-1/+1
| |/ | | | | | | | | Any output that goes through CleanTestOutput must be printed through cmXMLSafe.
* | ctest_coverage: Save/restore LC_ALL around gcov (#13136)Brad King2012-04-161-1/+29
|/ | | | | | | Commit ffbe61bb (make sure english is used for output of gcov, 2008-05-10) taught ctest_coverage to set LC_ALL=POSIX to get English output from gcov. Use the more portable value LC_ALL=C and restore the original value when finished.
* 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.