]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
workunit: pass java path as env variable
authorSage Weil <sage@inktank.com>
Thu, 24 Jan 2013 23:20:47 +0000 (15:20 -0800)
committerSage Weil <sage@inktank.com>
Thu, 24 Jan 2013 23:21:01 +0000 (15:21 -0800)
The libcephfs-java test needs this.

teuthology/task/workunit.py

index bd2b5a9971cbc01574db2e41524f1641666517e0..5e49b3b8aa603697a091ce289ffeed862b70171e 100644 (file)
@@ -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_)),