[Pkg-privacy-commits] [pyptlib] 111/136: Also use autopkgtest script to run the test suite at build time

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:16 UTC 2015


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

infinity0 pushed a commit to branch master
in repository pyptlib.

commit a075bbada77109d45e8db0926f535a998532628e
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Sep 20 15:38:04 2013 +0200

    Also use autopkgtest script to run the test suite at build time
---
 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 16d38af..7b2be2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,5 @@ override_dh_installdocs:
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	set -e && \
-	for test in $$(find pyptlib/test -type f -name 'test_*.py'); do \
-		PYTHONPATH=. python $$test; \
-	done
+	PYTHONPATH=. debian/tests/upstream-tests
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git



More information about the Pkg-privacy-commits mailing list