1phosphor_fan_monitor_test_include_directories = include_directories(
2    '../..'
3)
4
5test_deps=[
6    gmock_dep,
7    gtest_dep,
8    json_dep,
9    phosphor_logging_dep,
10    sdeventplus_dep
11]
12
13test_sources=[
14    files(
15        '../logging.cpp',
16    )
17]
18
19test(
20    'power_off_cause',
21    executable(
22        'power_off_cause',
23        'power_off_cause_test.cpp',
24        dependencies:test_deps,
25        implicit_include_directories: false,
26        include_directories: [phosphor_fan_monitor_test_include_directories]
27    )
28)
29
30test(
31    'power_off_rule_test',
32    executable(
33        'power_off_rule_test',
34        sources:test_sources,
35        dependencies: test_deps,
36        implicit_include_directories: false,
37        include_directories: phosphor_fan_monitor_test_include_directories,
38    )
39)
40