]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: disable -Werror when compiling env_librados_test 21433/head
authorKefu Chai <kchai@redhat.com>
Sun, 15 Apr 2018 14:38:08 +0000 (22:38 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 15 Apr 2018 14:38:09 +0000 (22:38 +0800)
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>
qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index d24a87bef25958f9c6102e2684db6151a8c4862b..60276d170245e83ac017d24d62618f8ff30ab440 100755 (executable)
@@ -73,7 +73,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