1test('phosphor-power-sequencer-tests',
2     executable('phosphor-power-sequencer-tests',
3                'config_file_parser_error_tests.cpp',
4                'config_file_parser_tests.cpp',
5                'pmbus_driver_device_tests.cpp',
6                'rail_tests.cpp',
7                'standard_device_tests.cpp',
8                'ucd90160_device_tests.cpp',
9                'ucd90320_device_tests.cpp',
10                'ucd90x_device_tests.cpp',
11                dependencies: [
12                    gmock,
13                    gtest,
14                    nlohmann_json_dep,
15                    phosphor_logging
16                ],
17                link_args: dynamic_linker,
18                build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
19                link_with: [
20                    phosphor_power_sequencer_library,
21                    libpower
22                ],
23                implicit_include_directories: false,
24                include_directories: [
25                    '.',
26                    '../src',
27                    '../..'
28                ]
29     )
30)
31