[diffoscope] 01/01: Show local variables in pytest tracebacks.

Chris Lamb chris at chris-lamb.co.uk
Thu Feb 9 00:27:40 CET 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 9d4113bed6bae44607626a06014c531607c5d10d
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Feb 9 12:20:16 2017 +1300

    Show local variables in pytest tracebacks.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 debian/rules        | 2 +-
 debian/tests/pytest | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index cab9a2e..c11bdc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ endif
 
 export PATH := $(CURDIR)/bin:$(PATH)
 export PYBUILD_DESTDIR = debian/diffoscope
-export PYBUILD_TEST_ARGS = -vv -r sxX --cov=diffoscope --cov-report=term-missing --cov-report=html
+export PYBUILD_TEST_ARGS = -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html
 export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
 export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
 
diff --git a/debian/tests/pytest b/debian/tests/pytest
index 596e618..353ee7f 100755
--- a/debian/tests/pytest
+++ b/debian/tests/pytest
@@ -10,4 +10,6 @@ fi
 export LIBGUESTFS_MEMSIZE=128
 
 cp -r tests $ADTTMP
-(cd $ADTTMP; py.test-3 -vv -r a)
+(cd $ADTTMP; py.test-3 -vv -l -r a)
+
+-vv -r sxX

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


More information about the diffoscope mailing list