#!/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 |