[Pkg-privacy-commits] [obfsproxy] 176/353: Run upstream test suite using autopkgtest
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository obfsproxy.
commit 5c8058dc15dc62503519bdab127fcda3a54a20d7
Author: Jérémy Bobbio <lunar at debian.org>
Date: Wed Aug 28 20:55:56 2013 +0200
Run upstream test suite using autopkgtest
---
debian/control | 1 +
debian/tests/control | 1 +
debian/tests/upstream-tests | 12 ++++++++++++
3 files changed, 14 insertions(+)
diff --git a/debian/control b/debian/control
index f05d76c..3581a31 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Standards-Version: 3.9.4
X-Python-Version: >= 2.7
Vcs-Git: git://anonscm.debian.org/git/collab-maint/obfsproxy.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/obfsproxy.git
+XS-Testsuite: autopkgtest
Package: obfsproxy
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..915c542
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: upstream-tests
diff --git a/debian/tests/upstream-tests b/debian/tests/upstream-tests
new file mode 100755
index 0000000..0e4a24f
--- /dev/null
+++ b/debian/tests/upstream-tests
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if ! [ -d "$ADTTMP" ]; then
+ echo "ADTTMP not set." >&2
+ exit 1
+fi
+
+mkdir $ADTTMP/obfsproxy
+cp -r obfsproxy/test $ADTTMP/obfsproxy
+(cd $ADTTMP; trial obfsproxy)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git
More information about the Pkg-privacy-commits
mailing list