[Pkg-privacy-commits] [pyptlib] 92/136: Add autopkgtest support to run upstream test suite
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository pyptlib.
commit bb6a3aabe7287e18e1c02f360adbbc700c287877
Author: Jérémy Bobbio <lunar at debian.org>
Date: Wed Aug 28 20:25:45 2013 +0200
Add autopkgtest support to run upstream test suite
---
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/upstream-tests | 7 +++++++
3 files changed, 10 insertions(+)
diff --git a/debian/control b/debian/control
index 4db60ae..e868b6d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Standards-Version: 3.9.4
X-Python-Version: >= 2.7
Vcs-Git: git://anonscm.debian.org/collab-maint/pyptlib.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pyptlib.git
+XS-Testsuite: autopkgtest
Package: python-pyptlib
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f69d15c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: upstream-tests
+Restrictions: allow-stderr
diff --git a/debian/tests/upstream-tests b/debian/tests/upstream-tests
new file mode 100755
index 0000000..062ad80
--- /dev/null
+++ b/debian/tests/upstream-tests
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for test in $(find pyptlib/test -type f -name '*.py'); do
+ python $test
+done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git
More information about the Pkg-privacy-commits
mailing list