[med-svn] [python-screed] 01/01: Add skeleton for autopkgtest
Andreas Tille
tille at debian.org
Sat Jan 31 08:34:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-screed.
commit d4a22f981fc5d602d09b15c8130d9929134293e6
Author: Andreas Tille <tille at debian.org>
Date: Fri Jan 30 23:54:43 2015 +0100
Add skeleton for autopkgtest
---
debian/tests/control | 3 +++
debian/tests/run-unit-test | 9 +++++++++
2 files changed, 12 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..199fb5e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, @builddeps@
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..77d2b89
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+pkg=python-screed
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+
+# copy files here and run the test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-screed.git
More information about the debian-med-commit
mailing list