[med-svn] [Git][med-team/intake][master] Get pytest working
Shayan Doust
gitlab at salsa.debian.org
Fri Jun 19 17:53:17 BST 2020
Shayan Doust pushed to branch master at Debian Med / intake
Commits:
f212b854 by Shayan Doust at 2020-06-19T17:53:03+01:00
Get pytest working
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -16,6 +16,10 @@ export PYBUILD_NAME=intake
override_dh_install:
dh_install
+ # For some reason, not all data is movable via install or dh_install, so
+ # just force copy (and overwrite if needed) for pytest to actually work
+ cp -rf intake/source/tests/* .pybuild/*/build/intake/source/tests
+
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS='cd {build_dir}; PATH=$(CURDIR)/debian/{package}/usr/bin:$(CURDIR)/debian/{package}/usr/lib:$$PATH {interpreter} -m pytest' \
dh_auto_test --buildsystem=pybuild
View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/f212b854fac2ce2983ad54280fc167927a384767
--
View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/f212b854fac2ce2983ad54280fc167927a384767
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200619/67d1805f/attachment.html>
More information about the debian-med-commit
mailing list