blob: 51496ac82ceede9b43687d42f016a35549b407d3 [file] [log] [blame]
Alexander Hansen22a1e162025-10-02 15:03:43 +02001
2test(
3 'test_systemd_parser',
4 executable(
5 'test_systemd_parser',
6 'systemd_parser.cpp',
7 '../systemd_target_parser.cpp',
8 dependencies: [gtest, nlohmann_json_dep],
9 implicit_include_directories: true,
10 include_directories: '../',
11 ),
12)
13
14test(
15 'test_systemd_signal',
16 executable(
17 'test_systemd_signal',
18 'systemd_signal.cpp',
19 '../systemd_target_signal.cpp',
Alexander Hansen22a1e162025-10-02 15:03:43 +020020 dependencies: [
21 gtest,
22 libgpiod,
23 nlohmann_json_dep,
24 phosphorlogging,
25 sdbusplus,
26 sdeventplus,
27 ],
Alexander Hansen409c4492025-10-16 17:33:32 +020028 link_with: [utils_lib],
Alexander Hansen22a1e162025-10-02 15:03:43 +020029 implicit_include_directories: true,
30 include_directories: '../',
31 ),
32)
33
34test(
35 'test_scheduled_host_transition',
36 executable(
37 'test_scheduled_host_transition',
38 'test_scheduled_host_transition.cpp',
39 '../scheduled_host_transition.cpp',
Alexander Hansen22a1e162025-10-02 15:03:43 +020040 dependencies: [
41 cereal,
42 gmock,
43 gtest,
44 libgpiod,
45 phosphorlogging,
46 sdbusplus,
47 sdeventplus,
48 ],
Alexander Hansen409c4492025-10-16 17:33:32 +020049 link_with: [utils_lib],
Alexander Hansen22a1e162025-10-02 15:03:43 +020050 implicit_include_directories: true,
51 include_directories: '../',
52 ),
53)
54
55test(
56 'test_hypervisor_state',
57 executable(
58 'test_hypervisor_state',
59 'hypervisor_state.cpp',
60 '../hypervisor_state_manager.cpp',
61 dependencies: [gtest, phosphorlogging, sdbusplus, sdeventplus],
62 implicit_include_directories: true,
63 include_directories: '../',
64 ),
65)