[med-svn] [iva] 03/04: use better test case

Sascha Steinbiss sascha at steinbiss.name
Wed May 4 13:59:13 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository iva.

commit 09c39c0516329215c6d30626b8725e5657d3b6c8
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Wed May 4 13:32:21 2016 +0000

    use better test case
---
 debian/tests/test-example | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/tests/test-example b/debian/tests/test-example
index ad060f4..ef7f5bf 100755
--- a/debian/tests/test-example
+++ b/debian/tests/test-example
@@ -3,4 +3,7 @@
 # Author: Sascha Steinbiss <sascha at steinbiss.name>
 set -e
 
-python3 setup.py test
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+iva --test $(WORKDIR)

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



More information about the debian-med-commit mailing list