this change partially reverts
652dbacc7424efbd3c3175de8ba79ed29edd55c8
quite a few test does not use crimson-os at all, so no need to link
against this library.
even worse is that crimson-os contains crimson-seastore *and*
crimson-alienstore. this introduces cyclic references.
Signed-off-by: Kefu Chai <kchai@redhat.com>
../../../test/crimson/seastore/test_block.cc
)
target_link_libraries(crimson-seastore
- crimson
- crimson-os)
-
+ crimson)
target_link_libraries(
unittest-transaction-manager
${CMAKE_DL_LIBS}
- crimson-seastore
- crimson-os
- crimson-common)
+ crimson-seastore)
add_executable(unittest-btree-lba-manager
test_btree_lba_manager.cc
target_link_libraries(
unittest-btree-lba-manager
${CMAKE_DL_LIBS}
- crimson-seastore
- crimson-os
- crimson-common)
+ crimson-seastore)
add_executable(unittest-seastore-journal
test_seastore_journal.cc)
target_link_libraries(
unittest-seastore-journal
crimson::gtest
- crimson-seastore
- crimson-os
- crimson-common)
+ crimson-seastore)
add_executable(unittest-seastore-cache
test_block.cc
target_link_libraries(
unittest-seastore-cache
crimson::gtest
- crimson-seastore
- crimson-os
- crimson-common)
+ crimson-seastore)
add_executable(unittest-extmap-manager
test_extmap_manager.cc
add_ceph_unittest(test-seastore-onode-tree-node)
target_link_libraries(test-seastore-onode-tree-node
crimson-seastore
- GTest::Main
- crimson-os
- crimson-common)
+ GTest::Main)
add_executable(unittest-staged-fltree
test_staged_fltree.cc