1
0
mirror of https://github.com/ceph/ceph synced 2025-01-14 06:53:11 +00:00

Adding a simple workunit that executes one libcephfs-java test

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Joe Buck 2012-11-01 17:16:45 -07:00
parent 5dec9172d9
commit 791a8224f0

View File

@ -0,0 +1,16 @@
#!/bin/sh -e
BASE=/tmp/cephtest
TLIB=binary/usr/local/lib
echo "starting libcephfs-java tests"
echo "----------------------"
echo java -DCEPH_CONF_FILE=$BASE/ceph.conf -Djava.library.path=$BASE/$TLIB/libcephfs.so:$BASE/$TLIB/libcephfs_jni.so:$BASE/$TLIB -cp /home/buck/git/ceph/src/java/lib/junit-4.8.2.jar:$BASE/$TLIB/libcephfs.jar:$BASE/$TLIB/libcephfs-test.jar org.junit.runner.JUnitCore com.ceph.fs.CephAllTests
echo "----------------------"
java -DCEPH_CONF_FILE=$BASE/ceph.conf -Djava.library.path=$BASE/$TLIB/libcephfs.so:$BASE/$TLIB/libcephfs_jni.so:$BASE/$TLIB -cp /home/buck/git/ceph/src/java/lib/junit-4.8.2.jar:$BASE/$TLIB/libcephfs.jar:$BASE/$TLIB/libcephfs-test.jar org.junit.runner.JUnitCore com.ceph.fs.CephAllTests
echo "completing libcephfs-java tests"
exit 0