[Python-modules-commits] [python-pkginfo] 05/12: Use dh_auto_test

Jan Dittberner jandd at moszumanska.debian.org
Wed Dec 30 18:16:11 UTC 2015


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

jandd pushed a commit to branch master
in repository python-pkginfo.

commit 07a39b12b64aff88e7a9b0a4444d4dff761fd709
Author: Jan Dittberner <jandd at debian.org>
Date:   Wed Dec 30 16:55:33 2015 +0100

    Use dh_auto_test
---
 debian/changelog | 1 +
 debian/rules     | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 279e7d9..60e56c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ python-pkginfo (1.2.1-1) UNRELEASED; urgency=medium
   [ Jan Dittberner ]
   * Bump Standards-Version to 3.9.6 (No changes)
   * remove unneeded override_dh_auto_clean
+  * Use dh_auto_test
 
  -- Jan Dittberner <jandd at debian.org>  Wed, 30 Dec 2015 16:42:42 +0100
 
diff --git a/debian/rules b/debian/rules
index f228dd6..49d381b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,6 @@ override_dh_auto_build:
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e -x; \
-	cd pkginfo/tests/sneaky ; python setup.py egg_info ; cd ../../.. ; \
-	PYTHONPATH=$(CURDIR)/build/lib.* python setup.py test
-	cd pkginfo/tests/sneaky ; python3 setup.py egg_info ; cd ../../.. ; \
-	PYTHONPATH=$(CURDIR)/build/lib.* python3 setup.py test
+	cd pkginfo/tests/sneaky ; python setup.py egg_info ; cd ../../..
+	dh_auto_test
 endif

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



More information about the Python-modules-commits mailing list