From 5a8e087b31aa5a87b70c99a5450127c0aa15a4f9 Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Fri, 15 May 2015 00:46:31 +0200 Subject: [PATCH] Clean up better before and after --- gen-coverage-report.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen-coverage-report.sh b/gen-coverage-report.sh index c637c2f..3b2375d 100755 --- a/gen-coverage-report.sh +++ b/gen-coverage-report.sh @@ -21,8 +21,8 @@ fi rm -rf "$DESTDIR" +make distclean || : ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage' -make clean make check mkdir -p $DESTDIR @@ -35,4 +35,6 @@ genhtml --prefix . --output-directory $DESTDIR \ --rc lcov_branch_coverage=1 \ --title "Ezstream $VERSION" --legend --show-detail $DESTDIR/coverage.tmp +make distclean + echo "Coverage report available under $DESTDIR"