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