diff --git a/generate_coverage_report b/generate_coverage_report index c9707703f..492934544 100755 --- a/generate_coverage_report +++ b/generate_coverage_report @@ -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 ./