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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Jul 16 11:46:50 BST 2023



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


Commits:
079f7a8e by Bas Couwenberg at 2023-07-16T12:43:41+02:00
Don't override dh_auto_test for custom pybuild system.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -4,6 +4,7 @@ geolinks (0.2.1-2) UNRELEASED; urgency=medium
   * Bump debhelper compat to 13.
   * Use autopkgtest-pkg-pybuild testsuite.
   * Enable Salsa CI.
+  * Don't override dh_auto_test for custom pybuild system.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 12 Jun 2023 08:40:46 +0200
 


=====================================
debian/rules
=====================================
@@ -4,12 +4,11 @@
 export PYBUILD_NAME=geolinks
 export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
+export PYBUILD_TEST_CUSTOM=1
+export PYBUILD_TEST_ARGS={interpreter} tests/run_tests.py -v
+
 export PYTHONPATH=$(CURDIR)
 
 
 %:
 	dh  $@ --with python3 --buildsystem pybuild
-
-override_dh_auto_test:
-	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="{interpreter} tests/run_tests.py -v" dh_auto_test



View it on GitLab: https://salsa.debian.org/debian-gis-team/geolinks/-/commit/079f7a8e4903b81f2b3080b856a9fb07eec8816a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/geolinks/-/commit/079f7a8e4903b81f2b3080b856a9fb07eec8816a
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/deae2996/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list