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:
Nicolás Alvarez 2010-06-01 15:20:19 -03:00
parent a8f38e55dc
commit b57bab5fc1
1 changed files with 2 additions and 1 deletions

View File

@ -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 ./