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

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

index e2eec1aa2c4d98990f8a66c113d07399d30a7a60..2a4602dc438403d4443c3ffcf536ba11e4efb8aa 100644 (file)
@@ -10,6 +10,7 @@ add_subdirectory(cls_numops)
 add_subdirectory(cls_rbd)
 add_subdirectory(cls_refcount)
 add_subdirectory(cls_replica_log)
+add_subdirectory(cls_rgw)
 
 # test_timers
 add_executable(ceph_test_timers
@@ -429,23 +430,6 @@ target_link_libraries(ceph_test_cls_statelog
   radostest
   )
 
-if(${WITH_RADOSGW})
-  add_executable(ceph_test_cls_rgw
-    cls_rgw/test_cls_rgw.cc
-    )
-  set_target_properties(ceph_test_cls_rgw PROPERTIES COMPILE_FLAGS
-    ${UNITTEST_CXX_FLAGS})
-  target_link_libraries(ceph_test_cls_rgw
-    cls_rgw_client
-    librados
-    global
-    ${UNITTEST_LIBS}
-    ${EXTRALIBS}
-    ${BLKID_LIBRARIES}
-    ${CMAKE_DL_LIBS}
-    radostest)
-endif(${WITH_RADOSGW})
-
 # ceph_test_async_driver
 add_executable(ceph_test_async_driver
   msgr/test_async_driver.cc
diff --git a/src/test/cls_rgw/CMakeLists.txt b/src/test/cls_rgw/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c67e415
--- /dev/null
@@ -0,0 +1,17 @@
+if(${WITH_RADOSGW})
+  add_executable(ceph_test_cls_rgw
+    test_cls_rgw.cc
+    )
+  set_target_properties(ceph_test_cls_rgw PROPERTIES COMPILE_FLAGS
+    ${UNITTEST_CXX_FLAGS})
+  target_link_libraries(ceph_test_cls_rgw
+    cls_rgw_client
+    librados
+    global
+    ${UNITTEST_LIBS}
+    ${EXTRALIBS}
+    ${BLKID_LIBRARIES}
+    ${CMAKE_DL_LIBS}
+    radostest)
+endif(${WITH_RADOSGW})
+