[Debian-l10n-commits] [translate-toolkit] 08/15: Add autopkgtest test suite
Stuart Prescott
stuart at moszumanska.debian.org
Sun Feb 23 14:02:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
stuart pushed a commit to branch master
in repository translate-toolkit.
commit 9ee4f909e8e38d9196ea3915596b4247e0db4172
Author: Stuart Prescott <stuart at debian.org>
Date: Mon Feb 24 00:19:41 2014 +1100
Add autopkgtest test suite
---
debian/tests/control | 19 +++++++++++++++++++
debian/tests/translate-toolkit | 10 ++++++++++
2 files changed, 29 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d66d34f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,19 @@
+Tests: translate-toolkit
+Depends: python-pytest,
+ translate-toolkit,
+ libexttextcat-data,
+ libgettextpo0,
+ python-beautifulsoup,
+ python-chardet,
+ python-enchant,
+ python-iniparse,
+ python-levenshtein,
+ python-lxml,
+ python-pytest,
+ python-simplejson,
+ python-subversion,
+ python-utidylib,
+ python-vobject,
+ python-xapian,
+ subversion
+
diff --git a/debian/tests/translate-toolkit b/debian/tests/translate-toolkit
new file mode 100755
index 0000000..7976ca9
--- /dev/null
+++ b/debian/tests/translate-toolkit
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e -u
+set -x
+export PYTHONWARNINGS=d
+cd "$ADTTMP"
+# Stop the test suite from deleting the containing directory by putting a file
+# in it. See http://bugs.locamotion.org/show_bug.cgi?id=3175
+touch translate-toolkit-likes-deleting-directories
+/usr/bin/py.test -rsx /usr/lib/python2.7/dist-packages/translate 2>&1
+exit 1
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-l10n/translate-toolkit.git
More information about the Debian-l10n-commits
mailing list