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

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

index 2a4602dc438403d4443c3ffcf536ba11e4efb8aa..05bc339b76b83be4b588d538b543c17c9c2426d9 100644 (file)
@@ -11,6 +11,7 @@ add_subdirectory(cls_rbd)
 add_subdirectory(cls_refcount)
 add_subdirectory(cls_replica_log)
 add_subdirectory(cls_rgw)
+add_subdirectory(cls_statelog)
 
 # test_timers
 add_executable(ceph_test_timers
@@ -413,23 +414,6 @@ target_link_libraries(ceph_test_cls_version
   radostest
   )
 
-add_executable(ceph_test_cls_statelog
-  cls_statelog/test_cls_statelog.cc
-  )
-set_target_properties(ceph_test_cls_statelog PROPERTIES COMPILE_FLAGS
-  ${UNITTEST_CXX_FLAGS})
-target_link_libraries(ceph_test_cls_statelog
-  librados
-  cls_statelog_client
-  global
-  ${UNITTEST_LIBS}
-  ${BLKID_LIBRARIES}
-  ${CMAKE_DL_LIBS}
-  ${CRYPTO_LIBS}
-  ${EXTRALIBS}
-  radostest
-  )
-
 # ceph_test_async_driver
 add_executable(ceph_test_async_driver
   msgr/test_async_driver.cc
diff --git a/src/test/cls_statelog/CMakeLists.txt b/src/test/cls_statelog/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5f77979
--- /dev/null
@@ -0,0 +1,18 @@
+# ceph_test_cls_statelog
+add_executable(ceph_test_cls_statelog
+  test_cls_statelog.cc
+  )
+set_target_properties(ceph_test_cls_statelog PROPERTIES COMPILE_FLAGS
+  ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_cls_statelog
+  librados
+  cls_statelog_client
+  global
+  ${UNITTEST_LIBS}
+  ${BLKID_LIBRARIES}
+  ${CMAKE_DL_LIBS}
+  ${CRYPTO_LIBS}
+  ${EXTRALIBS}
+  radostest
+  )
+