blob: ef56b4879931c76c56735049a35be2ba7d596156 [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',
20 '../utils.cpp',
21 dependencies: [
22 gtest,
23 libgpiod,
24 nlohmann_json_dep,
25 phosphorlogging,
26 sdbusplus,
27 sdeventplus,
28 ],
29 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',
40 '../utils.cpp',
41 dependencies: [
42 cereal,
43 gmock,
44 gtest,
45 libgpiod,
46 phosphorlogging,
47 sdbusplus,
48 sdeventplus,
49 ],
50 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)