[master] 842c7e70f vtest.sh: Set up GCOV jobs with configure flags

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Aug 25 10:21:05 UTC 2021


commit 842c7e70f9774109ade49c7b775f0ee64532fa48
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Aug 24 17:53:08 2021 +0200

    vtest.sh: Set up GCOV jobs with configure flags

diff --git a/tools/vtest.sh b/tools/vtest.sh
index 6b0da37d5..ef99fadde 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -129,7 +129,7 @@ autogen () (
 	set -e
 	cd "${SRCDIR}"
 	nice make distclean > /dev/null 2>&1 || true
-	nice sh "${SRCDIR}"/autogen.des
+	nice sh "${SRCDIR}"/autogen.des $AUTOGEN_FLAGS
 )
 
 makedistcheck () (
@@ -207,7 +207,7 @@ if $enable_gcov ; then
 	#export CC=gcc6
 	#export CC=clang80
 	export GCOVPROG='llvm-cov gcov'
-	export CFLAGS="-fprofile-arcs -ftest-coverage -fstack-protector -DDONT_DLCLOSE_VMODS -DGCOVING"
+	export AUTOGEN_FLAGS='--enable-coverage --enable-stack-protector'
 	export MAKEFLAGS=-j1
 fi
 


More information about the varnish-commit mailing list