[Python-modules-commits] [python-qtpy] 03/04: Adapt testing to new upstream codebase layout.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 10 11:18:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-qtpy.
commit ed4ccd87842b28133b009c44bb4a8ce80a4169a3
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Aug 10 10:47:39 2016 +0100
Adapt testing to new upstream codebase layout.
---
debian/rules | 3 +++
debian/tests/control | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index ad91b61..78ddb27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@
#export DH_VERBOSE=1
export PYBUILD_NAME=qtpy
+export PYBUILD_BEFORE_TEST=cp -r {dir}/qtpy/tests {build_dir}/qtpy
+export PYBUILD_TEST_ARGS=qtpy
+export PYBUILD_AFTER_TEST=rm -r {build_dir}/qtpy/tests
%:
dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/tests/control b/debian/tests/control
index c79899e..de3e6a9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
-Test-Command: cp -a ./tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run py.test
+Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run py.test
Depends: python-qtpy, python-pytest, xauth, xvfb
-Test-Command: cp -a ./tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run py.test-3
+Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; xvfb-run py.test-3
Depends: python3-qtpy, python3-pytest, xauth, xvfb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtpy.git
More information about the Python-modules-commits
mailing list