[med-svn] [andi] 04/07: activate unit tests (reproducibly)

Fabian Klötzl kloetzl-guest at moszumanska.debian.org
Fri Feb 5 19:18:49 UTC 2016


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

kloetzl-guest pushed a commit to branch master
in repository andi.

commit e396fcfd06a0b0bccfab475e6b2285013f709978
Author: Fabian Klötzl <fabian at kloetzl.info>
Date:   Fri Feb 5 14:50:50 2016 +0000

    activate unit tests (reproducibly)
---
 debian/control | 2 +-
 debian/rules   | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a8f5b10..c7768b2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Fabian Klötzl <kloetzl at evolbio.mpg.de>
-Build-Depends: debhelper (>= 9), libdivsufsort-dev, pkgconf, dh-autoreconf, libgsl-dev
+Build-Depends: debhelper (>= 9), libdivsufsort-dev, pkgconf, dh-autoreconf, libgsl-dev, libglib2.0-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/andi.git/tree/
 Vcs-Git: git://anonscm.debian.org/debian-med/andi.git
diff --git a/debian/rules b/debian/rules
index 414925c..5211721 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,10 @@
 
 %:
 	dh $@ --with autoreconf
+
+# andi comes with unit tests. Unfortunately, because of their random
+# nature, they occasionally fail. That is a problem for reproducibility
+# and CI. Thus we pass a fixed seed at compile time, so that all builds
+# test the same sequences and still detect severe breakage.
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-unit-tests --with-seed=123

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/andi.git



More information about the debian-med-commit mailing list