[numba] 04/05: deb/rules: run pytest in builddir and not from builddir
Daniel Stender
stender at moszumanska.debian.org
Thu Dec 29 18:54:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository numba.
commit 407e05901f9ba912100f90a5cbd2e435390adec5
Author: Daniel Stender <stender at debian.org>
Date: Thu Dec 29 19:50:21 2016 +0100
deb/rules: run pytest in builddir and not from builddir
---
debian/changelog | 6 ++++--
debian/rules | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0c7f22a..439c30e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,12 @@
numba (0.30.0-2) UNRELEASED; urgency=medium
* deb/control: add version to llvmlite build-dep.
- * deb/rules: remove failsafe for tests.
+ * deb/rules:
+ + run pytest in builddir and not from builddir.
+ + remove failsafe for tests.
* deb/clean: add .cache/.
- -- Daniel Stender <stender at debian.org> Thu, 29 Dec 2016 19:08:51 +0100
+ -- Daniel Stender <stender at debian.org> Thu, 29 Dec 2016 19:49:12 +0100
numba (0.30.0-1) experimental; urgency=medium
diff --git a/debian/rules b/debian/rules
index 4de479a..af28acf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/{package}
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
- PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest {build_dir}/numba/tests -v -rs" dh_auto_test
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="cd {build_dir} && {interpreter} -Wd -m pytest numba/tests -v -rs" dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs -A CHANGE_LOG
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/numba.git
More information about the debian-science-commits
mailing list