summaryrefslogtreecommitdiffstats
path: root/extras/lcov/lcov_post
blob: 1aaf9865d244720583445cbf760eaa53babae1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

cd build-root
rm -rf html
mkdir html
lcov --no-checksum --directory . --capture --output-file out.info
lcov --remove out.info \
       "/usr/include/*" "*/build-root/*" "/opt/*" "/usr/lib/*" \
       -o filtered.info
genhtml filtered.info -o html