summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-3/+3
| | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* Extra coverage glob should subtract the explicitly defined excluded filesZach Mullen2010-06-111-2/+6
|
* Add php coverage to ctest.Bill Hoffman2010-05-251-15/+19
|
* Fix shadowed local warning in coverage handlerZach Mullen2010-05-121-3/+3
|
* Change coverage globbing mechanism to resolve paths earlierZach Mullen2010-05-071-12/+15
|
* Coverage glob should search in Source dirZach Mullen2010-04-231-3/+9
|
* Implement extra coverage globbingZach Mullen2010-04-231-1/+82
|
* Fix issue #5668 - use CollapseFullPath when determining if covered file is ↵David Cole2009-10-121-91/+133
| | | | within source or binary tree. Allows gcc/gcov coverage analysis using MinGW on Windows.
* fix two more warnings from icpcAlexander Neundorf2009-10-041-3/+0
| | | | | | | asfGlob and abfGlob were there since rev 1.3 of this file (Oct 17th 2004) and unused since then, so remove them Alex
* Fix warnings in CMake source code. Suppress rampant warnings emanating from ↵David Cole2009-10-011-2/+2
| | | | Qt files.
* 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.
* BUG: Do not produce empty coverage log filesBrad King2009-03-111-20/+21
| | | | | | | This moves the filtering of source files to before the production of coverage log files in order to avoid producing a CoverageLog-*.xml file for 100 filtered-out files. The change greatly reduces the number of submitted coverage files when using label filters.
* BUG: Do not carry over file list between coverageBrad King2009-03-111-0/+1
| | | | | | | | When performing multiple ctest_coverage() commands in a single CTest instance we need to clear the list of CoverageLog-*.xml files for submission. Otherwise if the current coverage run produces fewer log files than the previous run CTest will attempt to submit non-existing files.
* BUG: Avoid duplicate CTest coverage submissionBrad King2009-03-111-0/+19
| | | | | | This teaches ctest_coverage() to remove any existing CoverageLog-*.xml when it creates new coverage results. Otherwise the next ctest_submit() may submit old coverage log files which unnecessarily.
* ENH: Efficiently filter CTest coverage by labelBrad King2009-03-091-18/+55
| | | | | | | This teaches CTest to process coverage information only for object files in targets containing labels of interest. This change also improves loading of global coverage information by globbing only in each target support directory instead of the entire build tree.
* ENH: Generate a central list of target directoriesBrad King2009-03-091-4/+11
| | | | | | | | This generalizes the previous CMakeFiles/LabelFiles.txt created at the top of the build tree to a CMakeFiles/TargetDirectories.txt file. It lists the target support directories for all targets in the project. Labels can still be loaded by looking for Labels.txt files in each target directory.
* ENH: Teach ctest_coverage to filter with LABELSBrad King2009-03-021-0/+45
| | | | | This teaches ctest_coverage() to report only coverage of files labeled with at least one label given by a new LABELS option.
* BUG: Fix coverage label reports for BullseyeBrad King2009-03-021-4/+6
| | | | | This teaches CTest to report Labels elements in the Coverage.xml file for Bullseye coverage results.
* BUG: Fix coverage handler initializationBrad King2009-03-021-2/+5
| | | | | This resets coverage handler internal state on initialization so that multiple coverage runs are independent.
* ENH: Teach CTest to put labels in coverage resultsBrad King2009-02-131-7/+106
| | | | | | This teaches CTest to include source file labels in coverage dashboard submissions. The labels for each source are the union of the LABELS property from the source file and all the targets in which it is built.
* STYLE: Remove unused variableBrad King2009-02-131-4/+0
|
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-11/+12
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* STYLE: fix warningBill Hoffman2009-01-291-1/+1
|
* STYLE: fix warningBill Hoffman2009-01-281-1/+1
|
* ENH: Divide CTest file submission list by partBrad King2009-01-121-3/+4
| | | | | | This splits the list of files for CTest to submit into those belonging to each part. The set is recombined just before submission. Later this will allow piecewise submissions.
* ENH: Teach ctest_* to create appending XML filesBrad King2009-01-121-3/+3
| | | | | This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file.
* ENH: add more debug stuff to CTestCTest2 so I can figure out redwallBill Hoffman2008-11-231-0/+2
|
* ENH: Add RecurseThroughSymlinks data member to kwsys::Glob. Allows recursive ↵David Cole2008-08-201-0/+2
| | | | globs to skip symlinks when necessary. Default to true for backwards compatible behavior. Used from the ctest coverage handler to avoid recursing through the '/Applications' directory on the Mac looking for *.da files... Should fix the hangs reported recently by Mac CMake dashboard submitters.
* BUG: Fix issue#4792 - improve verbose and log output when ctest cannot find ↵David Cole2008-07-311-6/+9
| | | | a file during coverage analysis.
* BUG: Fix issue #4971 - use lower case when comparing file names from gcov ↵David Cole2008-07-311-2/+19
| | | | output on _WIN32 since sometimes the drive letters have different case.
* ENH: make sure english is used for output of gcovBill Hoffman2008-05-101-0/+2
|
* BUG: 0006988 do not set coverage to false when it is notBill Hoffman2008-05-081-1/+1
|
* ENH: enhancements for cdash, include system information and better time entriesBill Hoffman2008-01-301-6/+26
|
* ENH: add support for CDash bullseye coverageBill Hoffman2007-11-161-6/+18
|
* COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.Brad King2007-11-051-3/+3
|
* ENH: show files as untested if no lines are coveredBill Hoffman2007-08-031-1/+1
|
* STYLE: fix some kwstyle errorsBill Hoffman2007-07-271-3/+3
|
* ENH: fix div by 0Bill Hoffman2007-07-201-1/+1
|
* ENH: make sure working directory is setBill Hoffman2007-06-121-2/+6
|
* BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile ↵David Cole2007-06-111-6/+7
| | | | - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs.
* ENH: use new covbr that does not stop on errorBill Hoffman2007-06-081-62/+138
|
* ENH: remove debug that caused tests to failBill Hoffman2007-06-021-2/+0
|
* ENH: oppsBill Hoffman2007-06-021-2/+0
|
* ENH: initial bullseye stuffBill Hoffman2007-06-011-7/+526
|
* STYLE: Fixed line too long.Brad King2007-04-281-2/+4
|
* ENH: Initial attempt to do python coverage. Hopefully will not break ↵Andy Cedilnik2007-04-271-279/+480
| | | | coverage on GCov
* STYLE: Fix line lengthAndy Cedilnik2006-10-251-1/+2
|
* BUG: Looks like gcov produces lines with string /*EOF*/ on them if there is ↵Andy Cedilnik2006-10-241-1/+1
| | | | no line at the end of the file. This will fix the coverage code complaining about it
* ENH: added total time limit for a CTest run bug 1207Ken Martin2006-10-191-0/+6
|