[ARVADOS-DEV] updated: 35f3cb05ac5c3319072b0f7f86b49f244e3cc3e7
git at public.curoverse.com
git at public.curoverse.com
Fri Jul 18 09:29:13 EDT 2014
Summary of changes:
jenkins/run-tests.sh | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
via 35f3cb05ac5c3319072b0f7f86b49f244e3cc3e7 (commit)
from 84dd5e80955f6fd3c5a26c0eb752c765e5011c5c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 35f3cb05ac5c3319072b0f7f86b49f244e3cc3e7
Author: Brett Smith <brett at curoverse.com>
Date: Fri Jul 18 09:27:54 2014 -0400
Update Python package test procedure.
Refs #3252 simplifies the way we express Python package dependencies.
This lets us invoke tests directly from setup.py, so do that.
diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh
index 52fee76..80a551a 100755
--- a/jenkins/run-tests.sh
+++ b/jenkins/run-tests.sh
@@ -103,7 +103,7 @@ fi
title "API server tests complete"
-# Keep
+# Keep
title "Starting Keep tests"
cd "$WORKSPACE"
cd services/keep/src/keep
@@ -150,9 +150,8 @@ cd "$WORKSPACE"
cd sdk/python
VENVDIR=$(mktemp -d)
-virtualenv --setuptools --system-site-packages "$VENVDIR"
-"$VENVDIR/bin/pip" install -e .
-GOPATH="$HOME/gocode" "$VENVDIR/bin/python" -m unittest discover tests
+virtualenv --setuptools "$VENVDIR"
+GOPATH="$HOME/gocode" "$VENVDIR/bin/python" setup.py test
ECODE=$?
@@ -175,8 +174,7 @@ cd "$WORKSPACE"
cd services/fuse
# We reuse $VENVDIR from the Python SDK tests above
-"$VENVDIR/bin/pip" install -e .
-GOPATH="$HOME/gocode" "$VENVDIR/bin/python" -m unittest discover tests
+GOPATH="$HOME/gocode" "$VENVDIR/bin/python" setup.py test
ECODE=$?
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list