summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-251-2/+10
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-3/+3
|
* Pass arguments that are not modified as const&.Daniel Pfeifer2016-05-261-1/+1
| | | | | | | Use clang-tidy's performance-unnecessary-value-param checker to find value parameter declarations of expensive to copy types that are not modified inside the function. Ignore findings in kwsys. After applying the fix-its, manually change `const T&` to `T const&`.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-22/+16
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Source: Stabilize include orderBrad King2016-04-291-1/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* cmCTestCoverageHandle: Improve error handling.James Johnston2015-08-081-1/+1
|
* cmCTestCoverageHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-1/+5
|
* ctest_coverage: Add QUIET optionZack Galbreath2015-02-231-1/+2
|
* CTest: Add Javascript coverage parserJoseph Snyder2014-10-291-0/+3
| | | | | | | Add a coverage parser for the Blanket.js library using the JSON output of the mocha.js test runner. Add a test for the new parser.
* CTest: Add code coverage parser for Pascal/DelphiJoseph Snyder2014-10-211-0/+3
| | | | | | | | Add a class to parse the HTML output of the Delphi-code-coverage tool http://code.google.com/p/delphi-code-coverage/ Add a test for the new parser.
* CTest: Add Jacoco Coverage functionalityJoseph Snyder2014-06-121-1/+4
| | | | | | | | Add the ability to parse the XML output of the Jacoco tool. Jacoco (www.eclemma.org/jacoco) is a Java coverage tool. Add and integrate a class for the parser and include a test which utilizes the new parser.
* CTest: Rename coverage implementation for "Python" to "Cobertura"Joseph Snyder2014-06-041-1/+1
| | | | | | The coverage.py tool writes out an XML that conforms to the Cobertura Coverage tool standard. Rename the cmParsePythonCoverage files to instead be cmParseCoberturaCoverage.
* CTest: Add support for Intel coverage filesVolkan Gezer2014-03-131-0/+4
| | | | | | | | | | | | | | | | | | By default, Intel compiler coverage tools generate HTML files as reports, but the option -txtlcov can be given to codecov to output a coverage file with LCov format. To use Intel coverage: * build the project with coverage flags * run the application * run profmerge * run codecov The output file will be "build_dir/CodeCoverage/SRCFILEDIR.LCOV". Ask users to compile with -prof-dir${BUILD_DIR} instead of searching the entire build tree recursively to find coverage files.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-6/+6
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-1/+1
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* Adding support for the Python coverage.py tool.Patrick Reynolds2013-10-081-0/+4
| | | | | | This assumes that coverage.py has been run in such a way to produce its standard XML output. This uses the Cobertura schema and should be somewhat generalizable.
* Add support for Cache coverage.Bill Hoffman2012-05-011-2/+2
| | | | | 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 support to ctest for GTM mumps coverage.Bill Hoffman2012-04-251-0/+2
|
* Add php coverage to ctest.Bill Hoffman2010-05-251-46/+14
|
* Implement extra coverage globbingZach Mullen2010-04-231-0/+5
|
* 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: Avoid duplicate CTest coverage submissionBrad King2009-03-111-0/+1
| | | | | | 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-0/+3
| | | | | | | 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-2/+2
| | | | | | | | 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/+7
| | | | | This teaches ctest_coverage() to report only coverage of files labeled with at least one label given by a new LABELS option.
* ENH: Teach CTest to put labels in coverage resultsBrad King2009-02-131-0/+16
| | | | | | 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.
* ENH: use new covbr that does not stop on errorBill Hoffman2007-06-081-0/+1
|
* ENH: initial bullseye stuffBill Hoffman2007-06-011-0/+23
|
* STYLE: Add somme commentsAndy Cedilnik2007-04-271-0/+5
|
* ENH: Initial attempt to do python coverage. Hopefully will not break ↵Andy Cedilnik2007-04-271-0/+7
| | | | coverage on GCov
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-31/+31
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-5/+5
|
* ENH: Add custom supression regular expressionsAndy Cedilnik2005-07-141-0/+10
|
* ENH: Improve support for various versions of gcovAndy Cedilnik2005-07-061-0/+21
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-2/+2
| | | | multiple submited files
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+3
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Add support for writing output file. While doing that, redesign the way ↵Andy Cedilnik2005-05-311-1/+1
| | | | ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake
* ENH: Several cleanups and improvementsAndy Cedilnik2005-01-271-1/+1
|
* ENH: Add a superclass to all handlersAndy Cedilnik2005-01-271-11/+3
|
* ENH: Add compression support to XML filesAndy Cedilnik2005-01-271-2/+3
|
* BUG: Fix output to match the Dart outputAndy Cedilnik2004-10-181-1/+1
|
* ENH: Update to the new coverage code. It may not be perfect yet, but it is a ↵Andy Cedilnik2004-10-171-9/+13
| | | | start
* more cleanup of ctestKen Martin2004-09-091-0/+75