add an inspect target that inspects every element feature, so we can have that added...
[platform/upstream/gst-common.git] / coverage / lcov.mak
1 lcov:
2         find . -name "*.gcda" -exec rm {} \;
3         make -C tests/check inspect
4         make -C tests/check check
5         make lcov-report
6
7 lcov-report:
8         @-rm -rf lcov
9         mkdir lcov
10         lcov --directory . --capture --output-file lcov/lcov.info
11         lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove
12         lcov -l lcov/lcov.info | grep "tests/check/" | cut -d: -f1 >> lcov/remove
13         lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
14         rm lcov/remove
15         mv lcov/lcov.cleaned.info lcov/lcov.info
16         genhtml -o lcov lcov/lcov.info