]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: moved tests into test/filestore dir
authorAli Maredia <amaredia@redhat.com>
Tue, 2 Feb 2016 01:02:42 +0000 (20:02 -0500)
committerAli Maredia <amaredia@redhat.com>
Fri, 15 Apr 2016 00:48:20 +0000 (20:48 -0400)
Added a CMakeLists.txt into test/filestore.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/test/CMakeLists.txt
src/test/filestore/CMakeLists.txt [new file with mode: 0644]

index 4c379cad8d3b2e485392d218806012c3b759f679..b4270d795d0e815ef2adec0517da144c82224392 100644 (file)
@@ -14,6 +14,7 @@ add_subdirectory(cls_rgw)
 add_subdirectory(cls_statelog)
 add_subdirectory(cls_version)
 add_subdirectory(compressor)
+add_subdirectory(filestore)
 
 # test_timers
 add_executable(ceph_test_timers
@@ -437,12 +438,6 @@ set_target_properties(ceph_perf_msgr_client PROPERTIES COMPILE_FLAGS
   ${UNITTEST_CXX_FLAGS})
 target_link_libraries(ceph_perf_msgr_client os global ${UNITTEST_LIBS})
 
-#ceph_test_filestore
-add_executable(ceph_test_filestore filestore/TestFileStore.cc)
-set_target_properties(ceph_test_filestore PROPERTIES COMPILE_FLAGS
-  ${UNITTEST_CXX_FLAGS})
-target_link_libraries(ceph_test_filestore os global ${UNITTEST_LIBS})
-
 # ceph_test_xattr_bench
 add_executable(ceph_test_xattr_bench
   xattr_bench.cc
diff --git a/src/test/filestore/CMakeLists.txt b/src/test/filestore/CMakeLists.txt
new file mode 100644 (file)
index 0000000..82a47f8
--- /dev/null
@@ -0,0 +1,8 @@
+#ceph_test_filestore
+add_executable(ceph_test_filestore 
+  TestFileStore.cc)
+set_target_properties(ceph_test_filestore PROPERTIES COMPILE_FLAGS
+  ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_filestore os global ${UNITTEST_LIBS})
+
+