Andreas Tille pushed to branch master at Debian Med / crac
Commits: f9fad482 by Andreas Tille at 2018-09-13T06:37:50Z debhelper 11 - - - - - 21bba8c0 by Andreas Tille at 2018-09-13T06:38:24Z Point Vcs fields to salsa.debian.org - - - - - 9285303c by Andreas Tille at 2018-09-13T11:58:07Z Standards-Version: 4.2.1; add autopkgtest - - - - - abccdaef by Andreas Tille at 2018-09-13T12:06:22Z Do not run build time tests in parallel since the sequence is important - - - - - 8 changed files: - + debian/README.test - debian/changelog - debian/compat - debian/control - debian/crac.docs - debian/rules - + debian/tests/control - + debian/tests/run-unit-test Changes: ===================================== debian/README.test ===================================== @@ -0,0 +1,8 @@ +Notes on how this package can be tested. +──────────────────────────────────────── + +This package can be tested by running the provided test: + + sh run-unit-test + +in order to confirm its integrity. ===================================== debian/changelog ===================================== @@ -1,8 +1,16 @@ crac (2.5.0+dfsg-3) UNRELEASED; urgency=low + [ Steffen Moeller ] * debian/upstream/metadata: RRID -> SciCrunch - -- Steffen Moeller <[email protected]> Sun, 22 Oct 2017 00:05:42 +0200 + [ Andreas Tille ] + * debhelper 11 + * Point Vcs fields to salsa.debian.org + * Standards-Version: 4.2.1 + * Do not run build time tests in parallel since the sequence is important + * Add autopkgtest + + -- Andreas Tille <[email protected]> Thu, 13 Sep 2018 08:38:24 +0200 crac (2.5.0+dfsg-2) unstable; urgency=low ===================================== debian/compat ===================================== @@ -1 +1 @@ -9 +11 ===================================== debian/control ===================================== @@ -3,17 +3,17 @@ Maintainer: Debian Med Packaging Team <[email protected]. Uploaders: Andreas Tille <[email protected]> Section: science Priority: optional -Build-Depends: debhelper (>= 9), - dh-autoreconf, +Build-Depends: debhelper (>= 11~), zlib1g-dev, libhts-dev, libjellyfish-2.0-dev, libgzstream-dev, libgkarrays-dev, - pkg-config -Standards-Version: 3.9.8 -Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/crac.git -Vcs-Git: https://anonscm.debian.org/git/debian-med/crac.git + pkg-config, + rsync +Standards-Version: 4.2.1 +Vcs-Browser: https://salsa.debian.org/med-team/crac +Vcs-Git: https://salsa.debian.org/med-team/crac.git Homepage: http://crac.gforge.inria.fr/ Package: crac ===================================== debian/crac.docs ===================================== @@ -1 +1,3 @@ README +debian/README.test +debian/tests/run-unit-test \ No newline at end of file ===================================== debian/rules ===================================== @@ -4,7 +4,21 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/dpkg/default.mk + export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --with autoreconf + dh $@ + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + # Sequence of tests is important so parallel execution is no option + dh_auto_test --no-parallel +endif + +override_dh_installexamples: + mkdir debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples + rsync -a --exclude=Makefile* test_f debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples + sed -i 's+$${abs_top_builddir:-\.\./\.\.}/src/crac+crac+' `grep -wRl crac debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/*` + sed -i 's+$$abs_top_builddir/src/crac-index+crac-index+' `grep -wRl crac-index debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/*` ===================================== debian/tests/control ===================================== @@ -0,0 +1,3 @@ +Tests: run-unit-test +Depends: @ +Restrictions: allow-stderr ===================================== debian/tests/run-unit-test ===================================== @@ -0,0 +1,19 @@ +#!/bin/bash +set -e + +pkg=crac + +if [ "$AUTOPKGTEST_TMP" = "" ] ; then + AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` + trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM +fi + +cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP + +cd $AUTOPKGTEST_TMP/test_f +gunzip -r * + +sh ./index_genomes.sh +sh ./test_index.sh +chmod +x ./should-get.sh +sh ./launch_sg.sh View it on GitLab: https://salsa.debian.org/med-team/crac/compare/a3393b916449b04290532fde935c0a5e38d4566b...abccdaef4d72823432536005b0800973ddf09bc8 -- View it on GitLab: https://salsa.debian.org/med-team/crac/compare/a3393b916449b04290532fde935c0a5e38d4566b...abccdaef4d72823432536005b0800973ddf09bc8 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
