From c51851b134748341641911505e214843a92e1322 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 2 May 2015 14:19:05 +0200 Subject: reproducible: create debbindiff-schroot for testing too, as ghc differs too much to unstable now --- bin/reproducible_build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 8d7dab1c..06737601 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -248,13 +248,18 @@ call_debbindiff() { local TMPLOG=(mktemp --tmpdir=$TMPDIR) echo | tee -a ${RBUILDLOG} local TIMEOUT="30m" # don't forget to also change the "seq 0 200" loop 33 lines above - DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-unstable-debbindiff debbindiff -- --version 2>&1)" + DBDSUITE=$SUITE + if [ "$SUITE" = "experimental" ] ; then + # there is no extra debbindiff-schroot for experimental because we specical case ghc enough already ;) + DBDSUITE="unstable" + fi + DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-debbindiff debbindiff -- --version 2>&1)" echo "$(date) - $DBDVERSION will be used to compare the two builds now." | tee -a ${RBUILDLOG} set +e set -x ( timeout $TIMEOUT schroot \ --directory $TMPDIR \ - -c source:jenkins-reproducible-unstable-debbindiff \ + -c source:jenkins-reproducible-${DBDSUITE}-debbindiff \ debbindiff -- \ --html ./${DBDREPORT} \ ./b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes \ -- cgit v1.2.3-54-g00ecf