[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible diffoscope test jobs: run autotest suite after build

Holger Levsen holger at layer-acht.org
Wed Aug 31 11:14:16 UTC 2016


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 90a639acb9988edf78900fe9df964e56ddd7156a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Aug 31 13:13:27 2016 +0200

    reproducible diffoscope test jobs: run autotest suite after build
---
 bin/chroot-run.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 924d8f8..7125188 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -96,6 +96,14 @@ cleanup() {
 	fi
 
 	#
+	# special case: diffoscope: run autotest suite after build
+	#
+	CHANGES=$(ls -1 $CHROOT_TARGET/tmp/diffoscope_*.changes 2>/dev/null|| true)
+	if [ ! -z "$CHANGES" ] ; then
+		sudo chroot $CHROOT_TARGET py.test-3 -v -r s
+	fi
+
+	#
 	# special case: publish debian-edu-doc on the webserver
 	#
 	CHANGES=$(ls -1 $CHROOT_TARGET/tmp/debian-edu-doc_*.changes 2>/dev/null|| true)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list