blob: 369c4e23c20f46235508edf5dab91b8d1e816776 [file] [log] [blame]
phosphor_fan_monitor_test_include_directories = include_directories(
'../..'
)
test_deps=[
gmock_dep,
gtest_dep,
json_dep,
phosphor_logging_dep,
sdeventplus_dep
]
test_sources=[
files(
'../logging.cpp',
)
]
test(
'power_off_cause',
executable(
'power_off_cause',
'power_off_cause_test.cpp',
dependencies:test_deps,
implicit_include_directories: false,
include_directories: [phosphor_fan_monitor_test_include_directories]
)
)
test(
'power_off_rule_test',
executable(
'power_off_rule_test',
sources:test_sources,
dependencies: test_deps,
implicit_include_directories: false,
include_directories: phosphor_fan_monitor_test_include_directories,
)
)