diff options
author | Joseph Snyder <joe.snyder@kitware.com> | 2018-10-15 13:57:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-16 14:59:09 (GMT) |
commit | f7d92deff487810f21b4f7979a5fe1892fabd255 (patch) | |
tree | ab8410cdfb8dbf0e1c8de77f6527dc23fdf438c6 /Tests/CMakeLists.txt | |
parent | 6c281138a577ccf07ae71b1286df30a3d22746e0 (diff) | |
download | CMake-f7d92deff487810f21b4f7979a5fe1892fabd255.zip CMake-f7d92deff487810f21b4f7979a5fe1892fabd255.tar.gz CMake-f7d92deff487810f21b4f7979a5fe1892fabd255.tar.bz2 |
CTest: Fix GTM coverage handling of entry point named "%"
Removing the "%" character from the name of the routine in the line
parser causes CTest to be unable to find a routine entry point that is
only named "%". Instead leave it during line parsing and handle routine
names ending in "%" explicitly when loading files.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9e192be..2b2ac95 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2669,7 +2669,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release $<TARGET_FILE:ctest> -T Coverage --debug) set_tests_properties(CTestGTMCoverage PROPERTIES PASS_REGULAR_EXPRESSION - "Process file.*ZZCOVTST.m.*Total LOC:.*30.*Percentage Coverage: 80.00*" + "Process file.*ZZCOVTST.m.*Total LOC:.*32.*Percentage Coverage: 81.25*" ENVIRONMENT COVFILE=) configure_file( @@ -2687,7 +2687,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release $<TARGET_FILE:ctest> -T Coverage --debug) set_tests_properties(CTestCacheCoverage PROPERTIES PASS_REGULAR_EXPRESSION - "Process file.*ZZCOVTST.m.*Total LOC:.*29.*Percentage Coverage: 86.21.*" + "Process file.*ZZCOVTST.m.*Total LOC:.*32.*Percentage Coverage: 87.50.*" ENVIRONMENT COVFILE=) # Adding a test case for Python Coverage |