2015-05-17 09:49:09 +02:00
|
|
|
#!/bin/sh
|
2016-03-01 15:35:04 +01:00
|
|
|
# Run from 'taler-exchange/' top-level directory to generate
|
2015-05-17 09:49:09 +02:00
|
|
|
# code coverage data.
|
|
|
|
TOP=`pwd`
|
|
|
|
mkdir -p doc/coverage/
|
|
|
|
lcov -d $TOP -z
|
|
|
|
make check
|
2015-07-11 18:04:10 +02:00
|
|
|
lcov -d $TOP -c --no-external -o doc/coverage/coverage.info
|
|
|
|
lcov -r doc/coverage/coverage.info **/test_* **/perf_* -o doc/coverage/rcoverage.info
|
|
|
|
genhtml -o doc/coverage doc/coverage/rcoverage.info
|