From: Andreas Tille Date: Tue, 11 Feb 2014 16:27:25 +0000 (+0100) Subject: Add autopkgtest X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~405 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c69fe818c1924e5c43a0112d3589edc304d30638;p=python-pysam.git Add autopkgtest --- diff --git a/debian/control b/debian/control index 934bc6a..c6143b6 100644 --- a/debian/control +++ b/debian/control @@ -3,6 +3,7 @@ Maintainer: Debian Med Packaging Team , Andreas Tille Section: python +XS-Testsuite: autopkgtest Priority: optional Build-Depends: debhelper (>= 9), python-all-dev, diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..516915b --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: run-unit-test +Depends: @, python-pysam-tests +Restrictions: allow-stderr diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test new file mode 100644 index 0000000..ffba74b --- /dev/null +++ b/debian/tests/run-unit-test @@ -0,0 +1,4 @@ +#!/bin/sh -e + +cd /var/lib/pysam/tests +./pysam_test_offline.py