1test('phosphor-power-supply-tests',
2     executable('phosphor-power-supply-tests',
3                'power_supply_tests.cpp',
4                '../record_manager.cpp',
5                '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,
20                link_with: [
21                  libpower,
22                  ],
23                build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
24                objects: power_supply,
25     )
26)
27