From c69fe818c1924e5c43a0112d3589edc304d30638 Mon Sep 17 00:00:00 2001 From: Andreas Tille Date: Tue, 11 Feb 2014 17:27:25 +0100 Subject: [PATCH] Add autopkgtest --- debian/control | 1 + debian/tests/control | 3 +++ debian/tests/run-unit-test | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 debian/tests/control create mode 100644 debian/tests/run-unit-test 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 -- 2.30.2