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