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                'format_utils_tests.cpp',
6                'pmbus_driver_device_tests.cpp',
7                'rail_tests.cpp',
8                'standard_device_tests.cpp',
9                'ucd90160_device_tests.cpp',
10                'ucd90320_device_tests.cpp',
11                'ucd90x_device_tests.cpp',
12                dependencies: [
13                    gmock,
14                    gtest,
15                    nlohmann_json_dep,
16                    phosphor_logging
17                ],
18                link_args: dynamic_linker,
19                build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
20                link_with: [
21                    phosphor_power_sequencer_library,
22                    libpower
23                ],
24                implicit_include_directories: false,
25                include_directories: [
26                    '.',
27                    '../src',
28                    '../..'
29                ]
30     )
31)
32