summaryrefslogtreecommitdiffstats
path: root/src/test/ObjectMap
diff options
context:
space:
mode:
authorAli Maredia <amaredia@redhat.com>2016-02-02 02:43:57 +0100
committerAli Maredia <amaredia@redhat.com>2016-04-15 02:48:20 +0200
commit4492439ef09a7d4736791308db726c505c19a5ad (patch)
tree850e3e7749533110c6e9bf45aa5546e376be5f8f /src/test/ObjectMap
parentcmake: moved tests into test/msgr dir (diff)
downloadceph-4492439ef09a7d4736791308db726c505c19a5ad.tar.xz
ceph-4492439ef09a7d4736791308db726c505c19a5ad.zip
cmake: moved tests into test/ObjectMap dir
Added a CMakeLists.txt into test/ObjectMap. Signed-off-by: Ali Maredia <amaredia@redhat.com>
Diffstat (limited to 'src/test/ObjectMap')
-rw-r--r--src/test/ObjectMap/CMakeLists.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/test/ObjectMap/CMakeLists.txt b/src/test/ObjectMap/CMakeLists.txt
new file mode 100644
index 00000000000..2a37b5acb26
--- /dev/null
+++ b/src/test/ObjectMap/CMakeLists.txt
@@ -0,0 +1,47 @@
+# ceph_test_object_map
+add_executable(ceph_test_object_map
+ test_object_map.cc
+ KeyValueDBMemory.cc
+ )
+set_target_properties(ceph_test_object_map PROPERTIES COMPILE_FLAGS
+ ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_object_map
+ os
+ common
+ ${UNITTEST_LIBS}
+ global
+ ${EXTRALIBS}
+ ${CMAKE_DL_LIBS}
+ )
+
+# ceph_test_keyvaluedb_atomicity
+add_executable(ceph_test_keyvaluedb_atomicity
+ test_keyvaluedb_atomicity.cc
+ )
+set_target_properties(ceph_test_keyvaluedb_atomicity PROPERTIES COMPILE_FLAGS
+ ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_keyvaluedb_atomicity
+ os
+ common
+ ${UNITTEST_LIBS}
+ global
+ ${EXTRALIBS}
+ ${CMAKE_DL_LIBS}
+ )
+
+# ceph_test_keyvaluedb_iterators
+add_executable(ceph_test_keyvaluedb_iterators
+ test_keyvaluedb_iterators.cc
+ KeyValueDBMemory.cc
+ )
+set_target_properties(ceph_test_keyvaluedb_iterators PROPERTIES COMPILE_FLAGS
+ ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_keyvaluedb_iterators
+ os
+ common
+ ${UNITTEST_LIBS}
+ global
+ ${EXTRALIBS}
+ ${CMAKE_DL_LIBS}
+ )
+