coverage report script: Quit immediately on errors,
but don't consider missing coverage_report dir when deleting it as an error
This commit is contained in:
parent
a8f38e55dc
commit
b57bab5fc1
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
make clean
|
||||
rm -r coverage_report
|
||||
rm -rf coverage_report
|
||||
make test CXXFLAGS="-Wall -Wextra -pedantic -g -fprofile-arcs -ftest-coverage"
|
||||
gcov lib/*.cpp -o lib/
|
||||
lcov --directory ./ --capture --output-file lcov.info -b ./
|
||||
|
|
Loading…
Reference in New Issue