From: Kefu Chai Date: Tue, 6 Mar 2018 03:08:37 +0000 (+0800) Subject: test,qa: s/.libs/lib/ X-Git-Tag: v14.0.1~1014^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20734%2Fhead;p=ceph.git test,qa: s/.libs/lib/ 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 --- diff --git a/src/java/README b/src/java/README index 0ffede3486f40..5077bb301d7a9 100644 --- a/src/java/README +++ b/src/java/README @@ -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. diff --git a/src/java/build.xml b/src/java/build.xml index 69499f8a88536..49509adbf66c4 100644 --- a/src/java/build.xml +++ b/src/java/build.xml @@ -45,7 +45,7 @@ - + @@ -60,7 +60,7 @@ - + diff --git a/src/test/erasure-code/TestErasureCodePlugin.cc b/src/test/erasure-code/TestErasureCodePlugin.cc index 8ba51ddfaa5bd..dd2e142c9bf3f 100644 --- a/src/test/erasure-code/TestErasureCodePlugin.cc +++ b/src/test/erasure-code/TestErasureCodePlugin.cc @@ -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: */ diff --git a/src/test/erasure-code/ceph_erasure_code_benchmark.cc b/src/test/erasure-code/ceph_erasure_code_benchmark.cc index 4d0fa9fcb8a4b..dfb52bf168703 100644 --- a/src/test/erasure-code/ceph_erasure_code_benchmark.cc +++ b/src/test/erasure-code/ceph_erasure_code_benchmark.cc @@ -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 \