summaryrefslogtreecommitdiffstats
path: root/src/test/crimson/seastore/CMakeLists.txt
blob: 6c21ac7c5b2335c68411d5f75ff4483a043ff918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
add_executable(unittest-transaction-manager
  test_block.cc
  test_transaction_manager.cc
  ../gtest_seastar.cc)
add_ceph_unittest(unittest-transaction-manager
  --memory 256M --smp 1)
target_link_libraries(
  unittest-transaction-manager
  ${CMAKE_DL_LIBS}
  crimson-seastore)

add_executable(unittest-btree-lba-manager
  test_btree_lba_manager.cc
  ../gtest_seastar.cc)
add_ceph_unittest(unittest-btree-lba-manager
  --memory 256M --smp 1)
target_link_libraries(
  unittest-btree-lba-manager
  ${CMAKE_DL_LIBS}
  crimson-seastore)

add_executable(unittest-seastore-journal
  test_seastore_journal.cc)
add_ceph_test(unittest-seastore-journal
  unittest-seastore-journal --memory 256M --smp 1)
target_link_libraries(
  unittest-seastore-journal
  crimson::gtest
  crimson-seastore)

add_executable(unittest-seastore-cache
  test_block.cc
  test_seastore_cache.cc)
add_ceph_test(unittest-seastore-cache
  unittest-seastore-cache --memory 256M --smp 1)
target_link_libraries(
  unittest-seastore-cache
  crimson::gtest
  crimson-seastore)

add_executable(unittest-extmap-manager
  test_extmap_manager.cc
  ../gtest_seastar.cc)
add_ceph_unittest(unittest-extmap-manager
  --memory 256M --smp 1)
target_link_libraries(
  unittest-extmap-manager
  ${CMAKE_DL_LIBS}
  crimson-seastore)

add_subdirectory(onode_tree)