summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-28 12:41:10 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-28 12:41:10 +0100
commit2f0d2e42d352314bf746bd2f83bc8e1e2e9e487b (patch)
treeb95e9a9bef00a2fc201ba89a8d5d5a9bbc92fc71 /bin
parent21eac200b6e295fb92a7658b9efdbfe54d326cf1 (diff)
downloadjenkins.debian.net-2f0d2e42d352314bf746bd2f83bc8e1e2e9e487b.tar.xz
torbrowser tests: configure lintian to be pedantic
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index b76e1f4c..3e8b1cf9 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -117,10 +117,13 @@ upgrade_to_package_build_from_git() {
else
local UPSTREAM_TREE=origin/master
fi
+ # configure lintian to be pedantic
+ echo "pedantic = yes" | schroot --run-session -c $SESSION --directory $TMPDIR -u root -- tee -a /etc/lintianrc
+ # build the package
schroot --run-session -c $SESSION --directory $TMPDIR/git -- gbp buildpackage --git-ignore-branch --git-upstream-tree=$UPSTREAM_TREE -uc -us
- # install it
local DEB=$(cd $TMPDIR ; ls torbrowser-launcher_*deb)
local CHANGES=$(cd $TMPDIR ; ls torbrowser-launcher_*changes)
+ # install it
echo "$(date -u ) - $DEB will be installed."
schroot --run-session -c $SESSION --directory $TMPDIR -u root -- dpkg -i $DEB
# cleanup