[Git][debian-gis-team/pytroll-schedule][master] 2 commits: Skip tests taking tool long to execute

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Apr 6 18:08:23 BST 2025



Antonio Valentino pushed to branch master at Debian GIS Project / pytroll-schedule


Commits:
68b62055 by Antonio Valentino at 2025-04-06T16:26:45+00:00
Skip tests taking tool long to execute

- - - - -
cacc17c9 by Antonio Valentino at 2025-04-06T16:26:51+00:00
Set distribution to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,14 @@
-pytroll-schedule (0.7.2-3) UNRELEASED; urgency=medium
+pytroll-schedule (0.7.2-3) unstable; urgency=medium
 
-  * Team upload.
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.7.2, no changes.
 
- -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:21:30 +0100
+  [ Antonio Valentino ]
+  * debian/rules:
+    - Skip tests taking too long to execute (test_schedule_avoid).
+      Closes: #1101594.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 06 Apr 2025 15:49:04 +0000
 
 pytroll-schedule (0.7.2-2) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -3,14 +3,14 @@
 
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
-export PYBUILD_TEST_ARGS=-k "not test_bool" $(CURDIR)/trollsched/tests
+export PYBUILD_AFTER_TEST=${RM} -r {build_dir}/.pytest_cache {build_dir}/trollsched/__pycache__ {build_dir}/trollsched/tests/__pycache__
+export PYBUILD_TEST_ARGS=\
+-k "not test_bool \
+and not test_schedule_avoid" \
+-v --pyargs trollsched
 
 %:
 	dh $@ --buildsystem=pybuild
 
-execute_before_dh_missing:
-	$(RM) -r $(CURDIR)/debian/*/usr/lib/python*/dist-packages/trollsched/__pycache__
-	$(RM) -r $(CURDIR)/debian/*/usr/lib/python*/dist-packages/trollsched/tests/__pycache__
-
 override_dh_numpy3:
 	dh_numpy3 -p python3-trollsched



View it on GitLab: https://salsa.debian.org/debian-gis-team/pytroll-schedule/-/compare/5464b2009809f52a0d9084cad72692c4de7f0df0...cacc17c9ff361374bd91adbc30d3593325479c71

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pytroll-schedule/-/compare/5464b2009809f52a0d9084cad72692c4de7f0df0...cacc17c9ff361374bd91adbc30d3593325479c71
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/20250406/b27da905/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list