[diffoscope] 01/01: Remove the egg file when cleaning, fix tests by adding PYTHONPATH

Ximin Luo infinity0 at debian.org
Tue Nov 28 21:40:24 CET 2017


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

infinity0 pushed a commit to branch master
in repository diffoscope.

commit aef3b3d580bd72106f851c68ff8f50e576fddb5d
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Nov 28 21:35:04 2017 +0100

    Remove the egg file when cleaning, fix tests by adding PYTHONPATH
---
 debian/clean | 1 +
 debian/rules | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/clean b/debian/clean
index 81040f5..12aa2d4 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,2 +1,3 @@
 debian/diffoscope.1
 debian/diffoscope.bash-completion
+diffoscope.egg-info/
diff --git a/debian/rules b/debian/rules
index 2aae24d..914a0de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,7 +52,7 @@ override_dh_auto_test:
 # Let's avoid plonking everything in the "DOS/MBR" category, this is really not
 # a sustainable filetype testing solution (e.g. c051ba9d and c1442405).
 	! grep 'DOS/MBR' -R diffoscope
-	dh_auto_test -O--buildsystem=pybuild
+	PYTHONPATH="$(CURDIR)" dh_auto_test -O--buildsystem=pybuild
 
 override_dh_installman:
 	dh_installman -O--buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list