]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/librbd: decouple ceph_test_librbd_api from libceph-common
authorKefu Chai <kchai@redhat.com>
Sat, 10 Jun 2017 15:59:19 +0000 (23:59 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 12 Jun 2017 14:47:29 +0000 (22:47 +0800)
Fixes: http://tracker.ceph.com/issues/20175
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/librbd/CMakeLists.txt

index 24cf0b152ae941d39f1d9272e89e16fbb862b7ba..38765811de9ee2a05c89eaa01e4cfec7338e89ef 100644 (file)
@@ -114,12 +114,11 @@ add_executable(ceph_test_librbd_api
   test_support.cc
   test_librbd.cc
   test_main.cc
+  $<TARGET_OBJECTS:libradostest_obj>
   $<TARGET_OBJECTS:common_texttable_obj>)
 target_link_libraries(ceph_test_librbd_api
   librbd
   librados
-  ceph-common
-  radostest
   ${UNITTEST_LIBS})
 set_target_properties(ceph_test_librbd_api PROPERTIES COMPILE_FLAGS
   ${UNITTEST_CXX_FLAGS})