]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
workunit: set PYTHONPATH so we can test python bindings
authorJosh Durgin <josh.durgin@dreamhost.com>
Mon, 24 Oct 2011 20:52:29 +0000 (13:52 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Mon, 24 Oct 2011 20:52:58 +0000 (13:52 -0700)
teuthology/task/workunit.py

index fdacd71cacf538182eb181a585c38977cfa920b8..47aa5107577efb264db3ea2cda57688e04d30389 100644 (file)
@@ -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',