aboutsummaryrefslogtreecommitdiff
path: root/cmake/GCov.cmake
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-31 11:46:08 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-01-31 11:46:08 +0000
commit089df7ae2d97966b789231e112709183483c64eb (patch)
tree0d8f4a2a9e99f61c5d7946653e7dd9eb3aac66d0 /cmake/GCov.cmake
parentcbb15a8fefaf70b03434b055cf41185c4009fb10 (diff)
parent271b0fbf8b14a4f7a8f47de0e3a8751bd50676c3 (diff)
downloadayatana-indicator-datetime-089df7ae2d97966b789231e112709183483c64eb.tar.gz
ayatana-indicator-datetime-089df7ae2d97966b789231e112709183483c64eb.tar.bz2
ayatana-indicator-datetime-089df7ae2d97966b789231e112709183483c64eb.zip
Finally land this. Other, still open bugs will be fixed in subsequent commits. Fixes: 793450, 1271484, 1274046
Diffstat (limited to 'cmake/GCov.cmake')
-rw-r--r--cmake/GCov.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/GCov.cmake b/cmake/GCov.cmake
index 8df10ee..81c0c40 100644
--- a/cmake/GCov.cmake
+++ b/cmake/GCov.cmake
@@ -29,7 +29,8 @@ if (CMAKE_BUILD_TYPE MATCHES coverage)
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMAND "${CMAKE_CTEST_COMMAND}" --force-new-ctest-process --verbose
COMMAND "${LCOV_EXECUTABLE}" --directory ${CMAKE_BINARY_DIR} --capture | ${CMAKE_SOURCE_DIR}/trim-lcov.py > dconf-lcov.info
- COMMAND LANG=C "${GENHTML_EXECUTABLE}" --prefix ${CMAKE_BINARY_DIR} --output-directory lcov-html --legend --show-details dconf-lcov.info
+ COMMAND "${LCOV_EXECUTABLE}" -r dconf-lcov.info /usr/include/\\* -o nosys-lcov.info
+ COMMAND LANG=C "${GENHTML_EXECUTABLE}" --prefix ${CMAKE_BINARY_DIR} --output-directory lcov-html --legend --show-details nosys-lcov.info
COMMAND ${CMAKE_COMMAND} -E echo ""
COMMAND ${CMAKE_COMMAND} -E echo "file://${CMAKE_BINARY_DIR}/lcov-html/index.html"
COMMAND ${CMAKE_COMMAND} -E echo "")