[med-svn] [python-csb] 01/02: Previous auto_test now also applied to debian/tests/build

Tomás Di Domenico tdido-guest at moszumanska.debian.org
Mon Feb 3 13:18:56 UTC 2014


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

tdido-guest pushed a commit to branch master
in repository python-csb.

commit 6e330e00b684692e6d360947222bbeac9894d237
Author: Tomás Di Domenico <tdido at tdido.com.ar>
Date:   Mon Feb 3 12:38:29 2014 +0100

    Previous auto_test now also applied to debian/tests/build
---
 debian/changelog   | 8 ++++++++
 debian/tests/build | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 33454e2..db6ecdc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-csb (1.2.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * debian/tests/build: add build dir to PYTHONPATH to fix auto_test
+    permission problems
+    Closes: #735883
+
+ -- Tomas Di Domenico <tdido at tdido.com.ar>  Mon, 02 Feb 2014 12:35:00 +0100
+
 python-csb (1.2.2+dfsg-1) UNRELEASED; urgency=medium
 
   [ Andreas Tille ]
diff --git a/debian/tests/build b/debian/tests/build
index 1009dc3..e6ee7f7 100644
--- a/debian/tests/build
+++ b/debian/tests/build
@@ -6,5 +6,5 @@ cp -r csb/test "$ADTTMP/"
 
 cd "$ADTTMP"
 for python in $(pyversions -i) $(py3versions -i); do
-    PYTHONWARNINGS=d $python test/app.py 2>&1
+    PYTHONPATH=$(CURDIR):$(PYTHONPATH) PYTHONWARNINGS=d python test/app.py --generated-resources /tmp
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-csb.git



More information about the debian-med-commit mailing list