[med-svn] [spades] 08/08: add autopkgtest

Sascha Steinbiss sascha at steinbiss.name
Thu Feb 11 15:18:50 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository spades.

commit b5ba7f1c42c327671a6c74aafd4984edd3c3b48a
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Thu Feb 11 15:18:37 2016 +0000

    add autopkgtest
---
 debian/control                   |  1 +
 debian/tests/control             |  3 +++
 debian/tests/run-upstreams-tests | 13 +++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/control b/debian/control
index 428092e..6f1c609 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Build-Depends: debhelper (>= 9),
                bwa,
                lynx
 Standards-Version: 3.9.6
+Testsuite: autopkgtest
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/spades.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/spades.git
 Homepage: http://bioinf.spbau.ru/en/spades
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..247ce38
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-upstreams-tests 
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/run-upstreams-tests b/debian/tests/run-upstreams-tests
new file mode 100755
index 0000000..432773a
--- /dev/null
+++ b/debian/tests/run-upstreams-tests
@@ -0,0 +1,13 @@
+#!/bin/sh
+# autopkgtest check: Run the spades tests for each tool. 
+# Author: Sascha Steinbiss <sascha at steinbiss.name>
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+
+dipspades --test
+spades --test
+truspades --test
+

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



More information about the debian-med-commit mailing list