Code

plugin: Make sdb_plugin_info_t public.
[sysdb.git] / t / coverage.sh
index 29f8c99a7ad7b7f914dea601aa93ccfde413cda4..1de97641e0138ed8a663d0c9620b5257ab1421d7 100755 (executable)
@@ -38,10 +38,14 @@ if test -d "$srcdir"/.git/; then
        cp -a "$srcdir"/.git .
 
        # reset all files which are not part of the tarball
-       git checkout HEAD .gitignore .travis.yml
+       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