summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-10-13 13:40:57 +0100
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-10-13 13:40:57 +0100
commit351d5daecd09133557df71a88c941bf4abe84db3 (patch)
treede69833b273e9a2d920ee31a4144764eb94717d4
parent6ff9570726b8ba6a6d1434a40ae86ca9649b05e6 (diff)
downloadceph-351d5daecd09133557df71a88c941bf4abe84db3.tar.gz
tools: move 'test_store_tool' to 'tools/ceph-kvstore-tool'
ceph-kvstore-tool allows for lower-level access to leveldb stores. Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
-rw-r--r--src/tools/Makefile.am6
-rw-r--r--src/tools/ceph-kvstore-tool.cc (renamed from src/test/ObjectMap/test_store_tool/test_store_tool.cc)0
2 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index 4b8da77951a..89417014dd4 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -6,6 +6,12 @@ ceph_monstore_tool_SOURCES = tools/ceph-monstore-tool.cc
ceph_monstore_tool_LDADD = $(LIBOS) $(CEPH_GLOBAL) -lboost_program_options
bin_DEBUGPROGRAMS += ceph-monstore-tool
+ceph_kvstore_tool_SOURCES = tools/ceph-kvstore-tool.cc
+ceph_kvstore_tool_LDADD = $(LIBOS) $(CEPH_GLOBAL)
+ceph_kvstore_tool_CXXFLAGS = $(UNITTEST_CXXFLAGS)
+bin_DEBUGPROGRAMS += ceph-kvstore-tool
+
+
ceph_filestore_dump_SOURCES = tools/ceph-filestore-dump.cc
ceph_filestore_dump_LDADD = $(LIBOSD) $(LIBOS) $(CEPH_GLOBAL) -lboost_program_options
if LINUX
diff --git a/src/test/ObjectMap/test_store_tool/test_store_tool.cc b/src/tools/ceph-kvstore-tool.cc
index 8fcf3f30e82..8fcf3f30e82 100644
--- a/src/test/ObjectMap/test_store_tool/test_store_tool.cc
+++ b/src/tools/ceph-kvstore-tool.cc