[Git][debian-gis-team/pycsw][master] Don't override dh_auto_test for custom pybuild system.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Jul 16 12:36:49 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / pycsw


Commits:
b93d0283 by Bas Couwenberg at 2023-07-16T13:28:31+02:00
Don't override dh_auto_test for custom pybuild system.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -8,6 +8,7 @@ pycsw (2.6.1+dfsg-4) UNRELEASED; urgency=medium
   * Update lintian overrides.
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
+  * Don't override dh_auto_test for custom pybuild system.
 
  -- Angelos Tzotsos <gcpp.kalxas at gmail.com>  Thu, 23 Jun 2022 14:00:00 +0300
 


=====================================
debian/rules
=====================================
@@ -2,6 +2,8 @@
 # -*- makefile -*-
 
 export PYBUILD_NAME=pycsw
+export PYBUILD_TEST_CUSTOM=1
+export PYBUILD_TEST_ARGS=cd {dir} && PYTHONPATH={dir} {interpreter} -m pytest -v -k 'not harvesting' tests/
 
 include /usr/share/dpkg/pkg-info.mk
 
@@ -20,8 +22,6 @@ override_dh_auto_build:
 	rm -f debian/man/*.html
 
 override_dh_auto_test:
-	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="cd {dir} && PYTHONPATH={dir} {interpreter} -m pytest -v -k 'not harvesting' tests/" \
 	dh_auto_test || echo "Ignoring test failures"
 
 override_dh_auto_install:



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/b93d028375e3908d3945782879c3a784916314ba

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/b93d028375e3908d3945782879c3a784916314ba
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/pkg-grass-devel/attachments/20230716/deca4d26/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list