blob: ce429d5061404e121d367fa74f4aae0c9336d206 [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',
Brandon Wymanc3324422022-03-24 20:30:57 +00004 '../record_manager.cpp',
Brandon Wyman3f1242f2020-01-28 13:11:25 -06005 'mock.cpp',
6 dependencies: [
7 gmock,
8 gtest,
9 sdbusplus,
10 sdeventplus,
11 phosphor_logging,
12 ],
13 implicit_include_directories: false,
14 include_directories: [
15 '.',
16 '..',
17 '../..'
18 ],
19 link_args: dynamic_linker,
Brandon Wyman1d7a7df2020-03-26 10:14:05 -050020 link_with: [
21 libpower,
22 ],
Brandon Wyman3f1242f2020-01-28 13:11:25 -060023 build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
24 objects: power_supply,
25 )
26)