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