]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test,qa: s/.libs/lib/ 20734/head
authorKefu Chai <kchai@redhat.com>
Tue, 6 Mar 2018 03:08:37 +0000 (11:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jun 2018 14:36:09 +0000 (22:36 +0800)
after switching to cmake, the libraries are put in build/lib, instead of
.libs. so point the default settings to ".lib".

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/java/README
src/java/build.xml
src/test/erasure-code/TestErasureCodePlugin.cc
src/test/erasure-code/ceph_erasure_code_benchmark.cc

index 0ffede3486f40cffcfacffa3247b847bb4f6ef80..5077bb301d7a9791475c373e48fedec1cf045e70 100644 (file)
@@ -39,7 +39,7 @@ Ant is used to run the unit test (apt-get install ant). For example:
 1. The tests depend on the compiled wrappers. If the wrappers are installed as
 part of a package (e.g. Debian package) then this should 'just work'. Ant will
 also look in the current directory for 'libcephfs.jar' and 'libcephfs-test.jar';
-and in ../.libs for the
+and in ../build/lib for the
 JNI library.  If all else fails, set the environment variables CEPHFS_JAR, and
 CEPHFS_JNI_LIB accordingly.
 
index 69499f8a885365b2a1797ed803c502c365ce7ddd..49509adbf66c4050f9d4a060242896d2c6e49b46 100644 (file)
@@ -45,7 +45,7 @@
 
   <target name="test" depends="compile-tests-jar">
     <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
-      <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
+      <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../../build/lib/"/>
       <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
       <jvmarg value="-Xcheck:jni"/>
       <classpath>
@@ -60,7 +60,7 @@
 
   <target name="test-compat" depends="compile-tests-jar">
     <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
-      <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
+      <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../../build/lib/"/>
       <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
       <classpath>
         <pathelement location="${env.CEPHFS_JAR}"/>
index 8ba51ddfaa5bd3a11953f5e3d08753a64d31e3a5..dd2e142c9bf3fb8903c2474e0e796fe88dbd74a2 100644 (file)
@@ -126,10 +126,10 @@ TEST_F(ErasureCodePluginRegistryTest, all)
 
 /*
  * Local Variables:
- * compile-command: "cd ../.. ; make -j4 && 
+ * compile-command: "cd ../../../build ; make -j4 &&
  *   make unittest_erasure_code_plugin && 
  *   valgrind --tool=memcheck \
- *      ./unittest_erasure_code_plugin \
+ *      ./bin/unittest_erasure_code_plugin \
  *      --gtest_filter=*.* --log-to-stderr=true --debug-osd=20"
  * End:
  */
index 4d0fa9fcb8a4b8f0262482081201cf0309e67d83..dfb52bf168703d2ebc239dda5497f1d679bf382a 100644 (file)
@@ -341,9 +341,9 @@ int main(int argc, char** argv) {
 
 /*
  * Local Variables:
- * compile-command: "cd ../.. ; make -j4 ceph_erasure_code_benchmark &&
+ * compile-command: "cd ../../../build ; make -j4 ceph_erasure_code_benchmark &&
  *   valgrind --tool=memcheck --leak-check=full \
- *      ./ceph_erasure_code_benchmark \
+ *      ./bin/ceph_erasure_code_benchmark \
  *      --plugin jerasure \
  *      --parameter directory=lib \
  *      --parameter technique=reed_sol_van \