[Python-modules-commits] [python-ratelimiter] 08/08: Acknowledge that the package has no test suite
chrysn
chrysn-guest at moszumanska.debian.org
Mon Dec 11 08:15:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
chrysn-guest pushed a commit to branch master
in repository python-ratelimiter.
commit f0b721733790f04fdefca0438b4c31199044cd09
Author: chrysn <chrysn at fsfe.org>
Date: Mon Dec 11 08:55:07 2017 +0100
Acknowledge that the package has no test suite
The build will start failing when upstream adds tests, at which time
this can simply be reverted.
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 04cd4e8..af46f8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,10 @@
%:
dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ # Succede as long as there are really no upstream tests. There are
+ # already some in upstream master, and this whole section can be
+ # removed because the test suite will not fail with "no tests to
+ # execute" any more.
+ [ 0 -eq `cat tests/*.py | wc -l` ]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-ratelimiter.git
More information about the Python-modules-commits
mailing list