1test('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 libgpiodcxx, 9 nlohmann_json_dep, 10 phosphor_logging, 11 sdbusplus, 12 sdeventplus, 13 ], 14 implicit_include_directories: false, 15 include_directories: [ 16 '.', 17 '..', 18 '../..' 19 ], 20 link_args: dynamic_linker, 21 link_with: [ 22 libpower, 23 ], 24 build_rpath: get_option('oe-sdk').allowed() ? rpath : '', 25 objects: power_supply, 26 ) 27) 28