aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-27 01:24:20 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-27 01:24:20 -0600
commitc1ffb9cd6082acb7aa7e820a7ed852adc7ae648d (patch)
tree9789615ca80de11f37e3e69e04ab833c56dd606d /cmake
parent7b09a0ff5652bdca7c8d8e046d2af6a696f94147 (diff)
downloadayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.tar.gz
ayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.tar.bz2
ayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.zip
re-enable coverage-html reports
Diffstat (limited to '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 "")