Add test coverage script
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/345de4a8 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/345de4a8 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/345de4a8 Branch: refs/heads/c-bindings-wip2 Commit: 345de4a823192003242e690cdd3c8d3b988514d8 Parents: b3c4ef7 Author: Nick Wellnhofer <[email protected]> Authored: Mon Mar 4 21:29:45 2013 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Mon Mar 4 21:29:45 2013 +0100 ---------------------------------------------------------------------- c/t/lcov.sh | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/345de4a8/c/t/lcov.sh ---------------------------------------------------------------------- diff --git a/c/t/lcov.sh b/c/t/lcov.sh new file mode 100755 index 0000000..72bdc8a --- /dev/null +++ b/c/t/lcov.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -ex + +lcov --zerocounters --directory .. --base-directory . +t/test_lucy +lcov --capture --directory .. --base-directory . --rc lcov_branch_coverage=1 --output-file lucy.info +genhtml --branch-coverage --output-directory coverage lucy.info +
