Source: python-misaka Version: 1.0.2-1 Severity: wishlist Tags: patch Dear Maintainer,
I am attaching a patch against Git HEAD to add autopkgtests to your package. Please consider applying it. -- Dmitry Shachnev
From 0a7a86556e7c1941b59ea23ead92c99ec32e890b Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev <mity...@gmail.com> Date: Wed, 19 Feb 2014 19:09:04 +0400 Subject: [PATCH] Add autopkgtests. --- debian/control | 1 + debian/tests/control | 5 +++++ debian/tests/python-misaka | 10 ++++++++++ debian/tests/python3-misaka | 10 ++++++++++ 4 files changed, 26 insertions(+) create mode 100644 debian/tests/control create mode 100644 debian/tests/python-misaka create mode 100644 debian/tests/python3-misaka diff --git a/debian/control b/debian/control index d4f917f..ac38d34 100644 --- a/debian/control +++ b/debian/control @@ -18,6 +18,7 @@ Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-misaka.git Vcs-Git: git://anonscm.debian.org/openstack/python-misaka.git Homepage: http://misaka.61924.nl/ +XS-Testsuite: autopkgtest Package: python-misaka Architecture: any diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..81a8224 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: python-misaka +Depends: python-all, python-misaka, tidy + +Tests: python3-misaka +Depends: python3-all, python3-misaka, tidy diff --git a/debian/tests/python-misaka b/debian/tests/python-misaka new file mode 100644 index 0000000..720f0c7 --- /dev/null +++ b/debian/tests/python-misaka @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e -u +cp -r tests "$ADTTMP" +cd "$ADTTMP/tests" + +for py in $(pyversions -i); do + echo "Testing with $py..." + $py -m misaka_test +done diff --git a/debian/tests/python3-misaka b/debian/tests/python3-misaka new file mode 100644 index 0000000..f5f04cf --- /dev/null +++ b/debian/tests/python3-misaka @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e -u +cp -r tests "$ADTTMP" +cd "$ADTTMP/tests" + +for py in $(py3versions -i); do + echo "Testing with $py..." + $py -m misaka_test +done -- 1.9.0.rc3
signature.asc
Description: OpenPGP digital signature