]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: disable -Werror when compiling env_librados_test 21655/head
authorKefu Chai <kchai@redhat.com>
Sun, 15 Apr 2018 14:38:08 +0000 (22:38 +0800)
committerSage Weil <sage@redhat.com>
Thu, 26 Apr 2018 13:48:18 +0000 (08:48 -0500)
to silence warnings like

utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter]
   Status InvalidateCache(size_t offset, size_t length) {
                                 ^~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1a95710441baa1f14a57129cb6fe18559df63766)

qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index 94580c234ca30ebd6eeaba37525a6aa7ca85f5db..c3c802d57006128c3643b04646c1b3c47c531c7c 100755 (executable)
@@ -71,7 +71,7 @@ git clone https://github.com/facebook/rocksdb.git --depth 1
 
 # compile code
 cd rocksdb
-make env_librados_test ROCKSDB_USE_LIBRADOS=1 -j8
+make env_librados_test ROCKSDB_USE_LIBRADOS=1 DISABLE_WARNING_AS_ERROR=1 -j8
 
 echo "Copy ceph.conf"
 # prepare ceph.conf