blob: a71ac5777b394e70d9bf90ed4ca76ef48c6a95c4 [file] [log] [blame]
Brandon Wyman3f1242f2020-01-28 13:11:25 -06001test('phosphor-power-supply-tests',
2 executable('phosphor-power-supply-tests',
3 'power_supply_tests.cpp',
4 'mock.cpp',
5 dependencies: [
6 gmock,
7 gtest,
8 sdbusplus,
9 sdeventplus,
10 phosphor_logging,
11 ],
12 implicit_include_directories: false,
13 include_directories: [
14 '.',
15 '..',
16 '../..'
17 ],
18 link_args: dynamic_linker,
19 build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
20 objects: power_supply,
21 )
22)