From: Sage Weil Date: Thu, 24 Jan 2013 23:20:47 +0000 (-0800) Subject: workunit: pass java path as env variable X-Git-Tag: v0.94.10~27^2^2~364^2~1074 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b150e8e3f3f7df8213a9a081d8bc026eb56a8e73;p=ceph.git workunit: pass java path as env variable The libcephfs-java test needs this. --- diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index bd2b5a9971cbc..5e49b3b8aa603 100644 --- a/teuthology/task/workunit.py +++ b/teuthology/task/workunit.py @@ -274,6 +274,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None): run.Raw('CEPH_REF={ref}'.format(ref=ceph_ref)), 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_JAVA_PATH="/tmp/cephtest/binary/usr/local/share/java"'), run.Raw('CEPH_CONF="/tmp/cephtest/ceph.conf"'), run.Raw('CEPH_SECRET_FILE="{file}"'.format(file=secretfile)), run.Raw('CEPH_ID="{id}"'.format(id=id_)),