[pkg-perl-tools] 03/04: examples/check-build: update reprotest invocation.

gregor herrmann gregoa at debian.org
Wed Jan 3 18:51:17 UTC 2018


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 9e67c69b1c81202f407390c7c0e506f903f2c03c
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 3 19:48:05 2018 +0100

    examples/check-build: update reprotest invocation.
    
    Adjust for different newer versions of reprotest.
---
 examples/check-build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/check-build b/examples/check-build
index bf693b0..a1d806c 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -92,12 +92,14 @@ if [ "$REPRO" = "y" ]; then
 	fi
 	if [ -n "$REPROTEST_VIRT_SERVER" ]; then
 		REPROTESTVERSION=$(dpkg-query -f '${Version}\n' -W reprotest)
-		if dpkg --compare-versions "$REPROTESTVERSION" ge 0.7 ; then
+		if dpkg --compare-versions "$REPROTESTVERSION" ge 0.7.4 ; then
+			REPROTESTPARAMS="--variations=+all,-build_path,-user_group,-domain_host --verbosity 1 . "
+		elif dpkg --compare-versions "$REPROTESTVERSION" ge 0.7 ; then
 			REPROTESTPARAMS="--variations=+all,-build_path,-user_group --verbosity 1 . "
 		else
 			REPROTESTPARAMS="--dont-vary build_path auto --verbosity 1 . "
 		fi
-		env -u TMPDIR -- reprotest $REPROTESTPARAMS -- $REPROTEST_VIRT_SERVER $REPROTEST_VIRT_SERVER_ARGS 2>&1 | \
+		env -u TMPDIR CCACHE_DIR=/tmp/.ccache reprotest $REPROTESTPARAMS -- $REPROTEST_VIRT_SERVER $REPROTEST_VIRT_SERVER_ARGS 2>&1 | \
 			tee $REPROTESTLOG
 	else
 		echo "W: Could not find reprotest virtualization server."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list