From 9eac126e528b27551dcc689e0d38fe3965ea8314 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 17 May 2015 09:49:09 +0200 Subject: [PATCH] adding script to generate code coverage report --- contrib/coverage.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/coverage.sh diff --git a/contrib/coverage.sh b/contrib/coverage.sh new file mode 100755 index 000000000..f9106a2e1 --- /dev/null +++ b/contrib/coverage.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Run from 'taler-mint/' top-level directory to generate +# code coverage data. +TOP=`pwd` +mkdir -p doc/coverage/ +lcov -d $TOP -z +make check +lcov -d $TOP -c -o doc/coverage/coverage.info +cd doc/coverage/ +genhtml coverage.info