From 8ab02bc1b8a66e04763aa421a72415c47d0362ff Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 6 Mar 2018 11:08:37 +0800 Subject: [PATCH] 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 --- src/java/README | 2 +- src/java/build.xml | 4 ++-- src/test/erasure-code/TestErasureCodePlugin.cc | 4 ++-- src/test/erasure-code/ceph_erasure_code_benchmark.cc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/java/README b/src/java/README index 0ffede3486f..5077bb301d7 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 69499f8a885..49509adbf66 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 8ba51ddfaa5..dd2e142c9bf 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 4d0fa9fcb8a..dfb52bf1687 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 \