diff options
-rw-r--r-- | coverage/lcov.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coverage/lcov.mak b/coverage/lcov.mak index 0ca9456..d28fde8 100644 --- a/coverage/lcov.mak +++ b/coverage/lcov.mak @@ -22,8 +22,9 @@ lcov-run: lcov-report: mkdir lcov lcov --compat-libtool --directory . --capture --output-file lcov/lcov.info - lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove - lcov -l lcov/lcov.info | grep "tests/check/" | cut -d: -f1 >> lcov/remove + lcov --list-full-path -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove + lcov --list-full-path -l lcov/lcov.info | grep "tests/check/" | cut -d: -f1 >> lcov/remove + lcov --list-full-path -l lcov/lcov.info | grep "docs/plugins/" | cut -d: -f1 >> lcov/remove lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info rm lcov/remove mv lcov/lcov.cleaned.info lcov/lcov.info |