blob: 86143aa0ddba0572536352530052f7b37493a61c [file] [log] [blame]
test('phosphor-power-supply-tests',
executable('phosphor-power-supply-tests',
'power_supply_tests.cpp',
'mock.cpp',
dependencies: [
gmock,
gtest,
libgpiodcxx,
nlohmann_json_dep,
phosphor_logging,
sdbusplus,
sdeventplus,
],
implicit_include_directories: false,
include_directories: [
'.',
'..',
'../..'
],
link_args: dynamic_linker,
link_with: [
libpower,
],
build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
objects: power_supply,
)
)