[Python-modules-commits] [safe] 07/08: Use smoke test instead of trying to run non-existant test suite

Carl Suster arcresu-guest at moszumanska.debian.org
Sat Jan 7 07:15:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

arcresu-guest pushed a commit to branch master
in repository safe.

commit 16b3ac1b3dd8008ad379c4e7c566413c87bbf936
Author: Carl Suster <carl at contraflo.ws>
Date:   Sat Jan 7 18:05:37 2017 +1100

    Use smoke test instead of trying to run non-existant test suite
---
 debian/rules         | 2 ++
 debian/tests/control | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 92acee5..e8d1db7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 
 export PYBUILD_NAME=safe
 
+export PYBUILD_DISABLE=test
+
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6ccf173
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test-Command: python3 -c "import safe; print(safe)"
+Depends: python3-safe

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/safe.git



More information about the Python-modules-commits mailing list