aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2009-04-09 11:34:31 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2009-04-09 11:34:31 +0100
commitb70aa4661e242b4ff1a249fe8a87a281991460b4 (patch)
treeb83c9775930621f4e74ff96c9fcffeed4f4ead77 /tools
parentd67fed49173ee8de699284812ea933236e04d057 (diff)
Try and fix for older lcov..
Diffstat (limited to 'tools')
-rw-r--r--tools/lcov.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/lcov.am b/tools/lcov.am
index f5be3602..b2a79b47 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -1,11 +1,14 @@
lcov-reset:
- lcov --directory @top_srcdir@ --zerocounters
+ lcov --base-directory=@top_srcdir@ --directory @top_srcdir@/libcontextprovider --zerocounters
lcov-report:
- lcov --directory @top_srcdir@ --capture \
+ lcov --directory @top_srcdir@/libcontextprovider \
+ --capture \
--output-file @top_builddir@/lcov.info.tmp
- lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
- --remove @top_builddir@/lcov.info.tmp $(shell find @top_srcdir@ -name \*.vala | sed 's/.vala/.c/' | xargs -n1 basename) \*.vapi \
+ lcov --directory @top_srcdir@/libcontextprovider \
+ --output-file @top_builddir@/lcov.info \
+ --remove @top_builddir@/lcov.info.tmp \
+ $(shell find @top_srcdir@ -name \*.vala | sed 's/.vala/.c/' | xargs -n1 basename) \*.vapi \
tests/unit_tests/\* \
/usr/include/\*
rm @top_builddir@/lcov.info.tmp