]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/crimson/seastore/CMakeLists.txt
add stop-gap to fix compat with CPUs not supporting SSE 4.1
[ceph.git] / ceph / src / test / crimson / seastore / CMakeLists.txt
1 add_executable(unittest-transaction-manager
2 test_block.cc
3 test_transaction_manager.cc
4 ../gtest_seastar.cc)
5 add_ceph_unittest(unittest-transaction-manager
6 --memory 256M --smp 1)
7 target_link_libraries(
8 unittest-transaction-manager
9 ${CMAKE_DL_LIBS}
10 crimson-seastore)
11
12 add_executable(unittest-btree-lba-manager
13 test_btree_lba_manager.cc
14 ../gtest_seastar.cc)
15 add_ceph_unittest(unittest-btree-lba-manager
16 --memory 256M --smp 1)
17 target_link_libraries(
18 unittest-btree-lba-manager
19 ${CMAKE_DL_LIBS}
20 crimson-seastore)
21
22 add_executable(unittest-seastore-journal
23 test_seastore_journal.cc)
24 add_ceph_test(unittest-seastore-journal
25 unittest-seastore-journal --memory 256M --smp 1)
26 target_link_libraries(
27 unittest-seastore-journal
28 crimson::gtest
29 crimson-seastore)
30
31 add_executable(unittest-seastore-cache
32 test_block.cc
33 test_seastore_cache.cc)
34 add_ceph_test(unittest-seastore-cache
35 unittest-seastore-cache --memory 256M --smp 1)
36 target_link_libraries(
37 unittest-seastore-cache
38 crimson::gtest
39 crimson-seastore)
40
41 add_executable(unittest-object-data-handler
42 test_object_data_handler.cc
43 ../gtest_seastar.cc)
44 add_ceph_unittest(unittest-object-data-handler
45 --memory 256M --smp 1)
46 target_link_libraries(
47 unittest-object-data-handler
48 crimson::gtest
49 crimson-seastore
50 crimson-os
51 crimson-common)
52
53 add_executable(unittest-collection-manager
54 test_collection_manager.cc
55 ../gtest_seastar.cc)
56 add_ceph_test(unittest-collection-manager
57 unittest-collection-manager --memory 256M --smp 1)
58 target_link_libraries(
59 unittest-collection-manager
60 crimson::gtest
61 crimson-seastore
62 crimson-os
63 crimson-common)
64
65 add_executable(unittest-omap-manager
66 test_omap_manager.cc
67 ../gtest_seastar.cc)
68 add_ceph_unittest(unittest-omap-manager
69 --memory 256M --smp 1)
70 target_link_libraries(
71 unittest-omap-manager
72 ${CMAKE_DL_LIBS}
73 crimson-seastore)
74
75 add_executable(unittest-seastore
76 test_seastore.cc
77 ../gtest_seastar.cc)
78 add_ceph_unittest(unittest-seastore
79 --memory 256M --smp 1)
80 target_link_libraries(
81 unittest-seastore
82 ${CMAKE_DL_LIBS}
83 crimson-seastore
84 crimson-common)
85
86 add_executable(unittest-seastore-randomblock-manager
87 test_randomblock_manager.cc)
88 add_ceph_test(unittest-seastore-randomblock-manager
89 unittest-seastore-randomblock-manager --memory 256M --smp 1)
90 target_link_libraries(
91 unittest-seastore-randomblock-manager
92 crimson::gtest
93 ${CMAKE_DL_LIBS}
94 crimson-seastore)
95
96 add_executable(unittest-seastore-nvmedevice
97 nvmedevice/test_nvmedevice.cc)
98 add_ceph_test(unittest-seastore-nvmedevice
99 unittest-seastore-nvmedevice --memory 256M --smp 1)
100 target_link_libraries(
101 unittest-seastore-nvmedevice
102 crimson::gtest
103 crimson-seastore
104 aio)
105
106 add_executable(unittest-seastore-cbjournal
107 test_cbjournal.cc)
108 add_ceph_test(unittest-seastore-cbjournal
109 unittest-seastore-cbjournal --memory 256M --smp 1)
110 target_link_libraries(
111 unittest-seastore-cbjournal
112 crimson::gtest
113 crimson-seastore
114 aio)
115
116 add_executable(unittest-seastore-extent-allocator
117 test_extent_allocator.cc)
118 add_ceph_test(unittest-seastore-extent-allocator
119 unittest-seastore-extent-allocator --memory 256M --smp 1)
120 target_link_libraries(
121 unittest-seastore-extent-allocator
122 crimson::gtest
123 crimson-seastore
124 aio)
125
126 add_subdirectory(onode_tree)