Updated coverage stuff so that it completes even if some unit tests
fail, and so that it only runs tests in test/lladd.
This commit is contained in:
parent
1575d97a6b
commit
8bb5192a41
1 changed files with 5 additions and 1 deletions
|
@ -17,9 +17,13 @@ precoverage :
|
|||
find . -name '*.bb' | xargs rm -f
|
||||
find . -name '*.bbg' | xargs rm -f
|
||||
find . -name '*.da' | xargs rm -f
|
||||
rm -rf doc/coverage
|
||||
|
||||
coverage: precoverage check
|
||||
coverage: all precoverage
|
||||
echo '(make profile requires CFLAGS="-fprofile-arcs -ftest-coverage -pg -O0")'
|
||||
cd test/lladd
|
||||
make check || true
|
||||
cd ../..
|
||||
lcov -c --directory src/libdfa/ --directory src/lladd/ --directory test/ > tmp.info
|
||||
# lcov -c --directory . > tmp.info
|
||||
genhtml -o doc/coverage tmp.info
|
||||
|
|
Loading…
Reference in a new issue