[sasview] 04/07: Correctly skip failing tests in autopkgtests

Stuart Prescott stuart at debian.org
Mon Jan 1 13:38:13 UTC 2018


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

stuart pushed a commit to branch master
in repository sasview.

commit 3616215aca552811337fd20a1a4384f18d375c0d
Author: Stuart Prescott <stuart at debian.org>
Date:   Tue Jan 2 00:28:21 2018 +1100

    Correctly skip failing tests in autopkgtests
---
 debian/tests/python-sasview | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/tests/python-sasview b/debian/tests/python-sasview
index ad7ed72..6f4c1f3 100755
--- a/debian/tests/python-sasview
+++ b/debian/tests/python-sasview
@@ -2,13 +2,13 @@
 set -e -u
 export PYTHONWARNINGS=d
 
-cp -a test "$ADTTMP"
+cp -a test pytest.ini "$ADTTMP"
 
 # SasView insists on writing to ~/sasview.log
 export HOME="$ADTTMP"
 
-cd "$ADTTMP/test"
+cd "$ADTTMP"
 
 for py in $(pyversions -i); do
-  $py -m pytest -v -s
+  $py -m pytest -v -s test
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasview.git



More information about the debian-science-commits mailing list