[Python-modules-commits] [python-flake8] 04/04: Run the test suite when building the package

Sylvestre Ledru sylvestre at moszumanska.debian.org
Wed Mar 2 12:31:59 UTC 2016


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

sylvestre pushed a commit to branch master
in repository python-flake8.

commit 01bc85a02af0eba7d7c63a58144ba09da713a559
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Wed Mar 2 13:31:53 2016 +0100

    Run the test suite when building the package
---
 debian/changelog | 1 +
 debian/control   | 3 ++-
 debian/rules     | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e95b251..5990199 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ python-flake8 (2.5.4-1) unstable; urgency=medium
   * Update of the homepage
   * Depends on python-pyflakes/python3-pyflakes instead of pyflakes
     (Closes: #804741)
+  * Run the test suite when building the package
 
   [ Jackson Doak ]
   * debian/tests/tools: Call flake8 on some actual files (setup.py as a
diff --git a/debian/control b/debian/control
index c5e016b..86fced0 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,8 @@ Build-Depends: debhelper (>= 9),
                python3-all,
                python3-mccabe (>= 0.2.1),
                python3-pep8 (>= 1.5.7),
-               python3-setuptools
+               python3-setuptools,
+               python-nose
 Standards-Version: 3.9.6
 Homepage: https://gitlab.com/pycqa/flake8
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-flake8.git
diff --git a/debian/rules b/debian/rules
index 8caa84c..9037939 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,9 @@ override_dh_auto_build:
 	# Remove me when dh_python2 can handle this file
 	rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt
 
+override_dh_auto_test:
+	nosetests
+
 override_dh_auto_install:
 	set -xe; \
 	for py in $(PYVERS); do \

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



More information about the Python-modules-commits mailing list