You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/03/09 18:14:55 UTC

[lucy-commits] [10/16] git commit: refs/heads/c-bindings-wip3 - Add test coverage script

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/c383707e
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/c383707e
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/c383707e

Branch: refs/heads/c-bindings-wip3
Commit: c383707ef3f7041a0dc5be4e0ab0b15c8eba655d
Parents: 4e5a61d
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Mar 4 21:29:45 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Mar 9 17:51:55 2013 +0100

----------------------------------------------------------------------
 c/t/lcov.sh |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/c383707e/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
+