From: Josh Durgin Date: Mon, 24 Oct 2011 20:52:29 +0000 (-0700) Subject: workunit: set PYTHONPATH so we can test python bindings X-Git-Tag: 1.1.0~2754 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a1249d07ca8129968376ee342dbfe53dc5e99eaa;p=teuthology.git workunit: set PYTHONPATH so we can test python bindings --- diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index fdacd71cac..47aa510757 100644 --- a/teuthology/task/workunit.py +++ b/teuthology/task/workunit.py @@ -156,6 +156,7 @@ def _run_tests(ctx, role, tests): run.Raw('PATH="$PATH:/tmp/cephtest/binary/usr/local/bin"'), run.Raw('LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/tmp/cephtest/binary/usr/local/lib"'), run.Raw('CEPH_CONF="/tmp/cephtest/ceph.conf"'), + run.Raw('PYTHONPATH="$PYTHONPATH:/tmp/cephtest/binary/usr/local/lib/python2.6/dist-packages"'), '/tmp/cephtest/enable-coredump', '/tmp/cephtest/binary/usr/local/bin/ceph-coverage', '/tmp/cephtest/archive/coverage',