[med-svn] [Git][med-team/python-pynndescent][master] d/rules: Enable build time tests respecting DEB_BUILD_OPTIONS

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Jul 3 19:03:14 BST 2021



Nilesh Patra pushed to branch master at Debian Med / python-pynndescent


Commits:
20500163 by Nilesh Patra at 2021-07-03T23:33:04+05:30
d/rules: Enable build time tests respecting DEB_BUILD_OPTIONS

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -5,3 +5,8 @@ export PYTHONPATH=$(CURDIR)
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m nose -v -w $(CURDIR)/pynndescent/tests"
+endif



View it on GitLab: https://salsa.debian.org/med-team/python-pynndescent/-/commit/205001635d98e940f5d9fa398eeb1df41616a5d6

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pynndescent/-/commit/205001635d98e940f5d9fa398eeb1df41616a5d6
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/20210703/85e77084/attachment.htm>


More information about the debian-med-commit mailing list