X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Fcoverage.sh;h=1de97641e0138ed8a663d0c9620b5257ab1421d7;hp=6acf8c96faa2ec520fb6ba0c64c1ae24db6f3423;hb=56b97a180a53aecbfe9f7162b8ece3faae973cf9;hpb=72a63cfb0e65bb575889b8dbee6648cafd6a52f2 diff --git a/t/coverage.sh b/t/coverage.sh index 6acf8c9..1de9764 100755 --- a/t/coverage.sh +++ b/t/coverage.sh @@ -41,7 +41,11 @@ if test -d "$srcdir"/.git/; then git checkout HEAD .gitignore .travis.yml t/cibuild.sh fi -./configure --enable-gcov --disable-shared CFLAGS="-O0 -g" +# rebuild build system to refresh version number, etc. +rm -f version +touch configure.ac && make configure + +./configure --enable-gcov CFLAGS="-O0 -g" make lcov --base-directory src --directory src --zerocount