[ARVADOS-DEV] updated: 56508d6b4085d51c640df635ebfa64ca824cdb94

git at public.curoverse.com git at public.curoverse.com
Tue Sep 23 10:56:31 EDT 2014


Summary of changes:
 jenkins/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  56508d6b4085d51c640df635ebfa64ca824cdb94 (commit)
      from  fef361d38a31b29fdda31e8a5eda13c908c04966 (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 56508d6b4085d51c640df635ebfa64ca824cdb94
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Sep 23 10:56:57 2014 -0400

    run-tests.sh uses virtualenv's activate script.
    
    The activate script takes care of additional isolation steps, like
    clearing $PYTHONHOME and rehashing $PATH.  Prefer that over simply
    setting $PATH ourselves.  No issue #.

diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh
index 45cdadc..2c25bb7 100755
--- a/jenkins/run-tests.sh
+++ b/jenkins/run-tests.sh
@@ -181,7 +181,7 @@ ln -sfn "$WORKSPACE" "$GOPATH/src/git.curoverse.com/arvados.git" \
     || fatal "symlink failed"
 
 virtualenv --setuptools "$VENVDIR" || fatal "virtualenv $VENVDIR failed"
-PATH="$VENVDIR/bin:$PATH"
+. "$VENVDIR/bin/activate"
 
 checkexit() {
     if [[ "$?" != "0" ]]; then

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list