Tweak .gitignore to ignore gcov files; add a convenience script (lcov.sh) to run lcov & package results
This commit is contained in:
parent
78b09e081f
commit
02dd677d71
|
@ -21,6 +21,9 @@ src/test-harness/twtest
|
|||
**/*.dll
|
||||
**/*.exe
|
||||
**/*~
|
||||
**/*#
|
||||
**/*.bak
|
||||
**/.DS_Store
|
||||
**/*.gcno
|
||||
**/*.gcda
|
||||
releases/
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -d ./lcov ]; then
|
||||
rm -Rf ./lcov
|
||||
fi
|
||||
|
||||
if [ -e ./lcov.dat ]; then
|
||||
rm ./lcov.dat
|
||||
fi
|
||||
|
||||
if [ -e ./lcov.tgz ]; then
|
||||
rm ./lcov.tgz
|
||||
fi
|
||||
|
||||
lcov --capture --directory src --output-file ./lcov.dat
|
||||
genhtml ./lcov.dat --output-directory lcov
|
||||
tar -zcvf lcov.tgz lcov
|
||||
|
Loading…
Reference in New Issue