[Python-modules-commits] r33949 - in packages/python-llfuse/trunk/debian (7 files)
nikratio-guest at users.alioth.debian.org
nikratio-guest at users.alioth.debian.org
Fri Aug 21 19:45:07 UTC 2015
Date: Friday, August 21, 2015 @ 19:45:05
Author: nikratio-guest
Revision: 33949
Added test suite.
Added:
packages/python-llfuse/trunk/debian/tests/
packages/python-llfuse/trunk/debian/tests/control
packages/python-llfuse/trunk/debian/tests/upstream-standard
packages/python-llfuse/trunk/debian/tests/upstream-with-fuse
Modified:
packages/python-llfuse/trunk/debian/changelog
packages/python-llfuse/trunk/debian/control
packages/python-llfuse/trunk/debian/rules
Modified: packages/python-llfuse/trunk/debian/changelog
===================================================================
--- packages/python-llfuse/trunk/debian/changelog 2015-08-21 19:41:07 UTC (rev 33948)
+++ packages/python-llfuse/trunk/debian/changelog 2015-08-21 19:45:05 UTC (rev 33949)
@@ -1,3 +1,9 @@
+python-llfuse (0.41+dfsg-2) UNRELEASED; urgency=medium
+
+ * Added test suite.
+
+ -- Nikolaus Rath <Nikolaus at rath.org> Fri, 21 Aug 2015 11:14:08 -0700
+
python-llfuse (0.41+dfsg-1) unstable; urgency=medium
* New upstream release.
Modified: packages/python-llfuse/trunk/debian/control
===================================================================
--- packages/python-llfuse/trunk/debian/control 2015-08-21 19:41:07 UTC (rev 33948)
+++ packages/python-llfuse/trunk/debian/control 2015-08-21 19:45:05 UTC (rev 33949)
@@ -14,7 +14,10 @@
python3-all-dev,
python3-all-dbg,
python3-sphinx (>= 1.0.7+dfsg),
+ python-pytest,
+ python3-pytest,
pkg-config,
+ fuse,
python-distribute,
python3-setuptools,
cython3 (>= 0.16)
Modified: packages/python-llfuse/trunk/debian/rules
===================================================================
--- packages/python-llfuse/trunk/debian/rules 2015-08-21 19:41:07 UTC (rev 33948)
+++ packages/python-llfuse/trunk/debian/rules 2015-08-21 19:45:05 UTC (rev 33949)
@@ -3,8 +3,8 @@
export DH_VERBOSE=1
export PYBUILD_NAME=llfuse
-#export PYBUILD_BEFORE_BUILD="python setup.py build_cython"
-#export PYTHON_BEFORE_
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS="--installed {dir}/test/"
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
Added: packages/python-llfuse/trunk/debian/tests/control
===================================================================
--- packages/python-llfuse/trunk/debian/tests/control (rev 0)
+++ packages/python-llfuse/trunk/debian/tests/control 2015-08-21 19:45:05 UTC (rev 33949)
@@ -0,0 +1,10 @@
+Tests: upstream-standard
+Depends: python3-pytest, python-pytest, python-llfuse, python3-llfuse, fuse
+
+# This is really the same test suite, but when run with root
+# access (or permission to mount fuse file systems), additional
+# tests will be run.
+Tests: upstream-with-fuse
+Depends: python3-pytest, python-pytest, python-llfuse, python3-llfuse, fuse
+Restrictions: needs-root
+
Added: packages/python-llfuse/trunk/debian/tests/upstream-standard
===================================================================
--- packages/python-llfuse/trunk/debian/tests/upstream-standard (rev 0)
+++ packages/python-llfuse/trunk/debian/tests/upstream-standard 2015-08-21 19:45:05 UTC (rev 33949)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Test suite automatically skips over tests that cannot be
+# executed because of insufficient priviliges.
+exec py.test-3 --installed test/
Property changes on: packages/python-llfuse/trunk/debian/tests/upstream-standard
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-llfuse/trunk/debian/tests/upstream-with-fuse
===================================================================
--- packages/python-llfuse/trunk/debian/tests/upstream-with-fuse (rev 0)
+++ packages/python-llfuse/trunk/debian/tests/upstream-with-fuse 2015-08-21 19:45:05 UTC (rev 33949)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec py.test-3 --installed test/
Property changes on: packages/python-llfuse/trunk/debian/tests/upstream-with-fuse
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list