summaryrefslogtreecommitdiff
path: root/Tests/CTestCoverageCollectGCOV
Commit message (Collapse)AuthorAgeFilesLines
* Tests/CTestTest*: Update cmake_minimum_required versionsBrad King2023-02-102-2/+2
|
* Tests: Fix GCOV test in unusual environmentsMatthew Woehlke2022-08-161-2/+3
| | | | | Tweak path computation in CTestCoverageCollectGCOV test so that the test doesn't spuriously fail if the build directory is a symlink.
* Tests: Make GCOV test more robust to symbolic links in pathsWilliam R. Dieter2021-01-281-0/+19
| | | | | | | | Symbolic links in the path to the cmake build directory caused some paths to have '..' directories in the path, which are equivalent, but not a string match for the expected path. As a result, some tests fail. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION optionKelly (KT) Thompson2020-04-301-8/+136
| | | | | | | | | | | | | For large projects, the default bzip2 compression of gcov data is prohibitively expensively (could take several hours). Introduce options that allow the consumer to choose between file size and compression time. Add a new optional argument `TARBALL_COMPRESSION` for the macro `ctest_coverage_collect_gcov`. This option accepts the values `GZIP`, `BZIP2`, `XZ`, `FROM_EXT`, or an expression that evaluates to `FALSE`. The default value is `BZIP2` to preserve prior behavior. Fixes: #20593
* Tests: Fix re-running CTestCoverageCollectGCOV on in-source buildBrad King2020-04-301-2/+0
| | | | | Do not remove the test binary directory if it contains `CMakeCache.txt`. Otherwise in an in-source build we remove the source directory too.
* CTestCoverageCollectGCOV: run gcov only onceCristian Morales Vega2019-05-031-9/+12
| | | | | | | | | Running gcov once per .gcda file is not only inefficient, it also generates wrong data since .gcov files can get overwritten and in general gcov works with less information. fakegcov.cmake needs to be able to handle multiple .gcda files for the test to be meaningful.
* Remove unnecessary CTEST_PROJECT_NAME variablesRegina Pfeifer2018-11-201-1/+0
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-163-3/+9
| | | | | | | | | | | | | 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.
* CTestCoverageCollectGCOV: Honor CTEST_EXTRA_COVERAGE_GLOBZack Galbreath2016-04-073-0/+4
| | | | | | | Teach CTestCoverageCollectGCOV to honor the CTEST_EXTRA_COVERAGE_GLOB variable. When this variable is set, this module will glob for matching source files that were not covered and include them in the resulting tar file.
* CTestCoverageCollectGCOV: replace tabulatorsBen Boeckel2015-09-211-3/+3
|
* CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDENils Gladitz2015-04-048-16/+96
|
* CTestCoverageCollectGCOV: Add test caseBill Hoffman2015-02-032-0/+47