[Python-modules-commits] [pytest-pylint] 01/10: Prevent tests in the debian/$pkg directories from being collected when running the tests. (Closes: #867522)

Ondrej Koblizek kobla-guest at moszumanska.debian.org
Thu Jul 20 13:30:28 UTC 2017


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

kobla-guest pushed a commit to branch master
in repository pytest-pylint.

commit 50a5fe167695de4a6c2bd989be5f4f0428005b91
Author: Ondřej Kobližek <koblizeko at gmail.com>
Date:   Thu Jul 20 14:30:32 2017 +0200

    Prevent tests in the debian/$pkg directories from being collected when running the tests. (Closes: #867522)
---
 debian/changelog | 7 ++++++-
 debian/copyright | 1 +
 debian/rules     | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 38964f7..9ab6576 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 pytest-pylint (0.6.0-2) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Bumped debhelper version to 10
 
- -- Ondřej Nový <onovy at debian.org>  Mon, 07 Nov 2016 23:05:49 +0100
+  [ Michael Hudson-Doyle ]
+  * Prevent tests in the debian/$pkg directories from being collected when
+    running the tests. (Closes: #867522)
+
+ -- Ondřej Kobližek <koblizeko at gmail.com>  Thu, 20 Jul 2017 14:25:38 +0200
 
 pytest-pylint (0.6.0-1) unstable; urgency=medium
 
diff --git a/debian/copyright b/debian/copyright
index d5c1d97..2567299 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -9,6 +9,7 @@ License: Expat
 Files: debian/*
 Copyright: 2016, Ondřej Kobližek <koblizeko at gmail.com>
            2016, Ondřej Nový <onovy at debian.org>
+           2017, Michael Hudson-Doyle <michael.hudson at ubuntu.com>
 License: Expat
 
 License: Expat
diff --git a/debian/rules b/debian/rules
index 340a197..1310c2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore debian" dh_auto_test
 	# run tests after install: plugin needs to get registered by setup.py/entry_points
 
 override_dh_installchangelogs:

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



More information about the Python-modules-commits mailing list