xref: /openbmc/phosphor-power/phosphor-power-sequencer/test/meson.build (revision 516e22fe84f77c2d029b028785dfd1e5633267b5)
1*516e22feSPatrick Williamstest(
2*516e22feSPatrick Williams    'phosphor-power-sequencer-tests',
3*516e22feSPatrick Williams    executable(
4*516e22feSPatrick Williams        'phosphor-power-sequencer-tests',
56a957f6fSShawn McCarney        'config_file_parser_error_tests.cpp',
66a957f6fSShawn McCarney        'config_file_parser_tests.cpp',
7b89395b1SShawn McCarney        'pmbus_driver_device_tests.cpp',
8d6e9bfe2SShawn McCarney        'rail_tests.cpp',
9472101c5SShawn McCarney        'standard_device_tests.cpp',
10b5451447SShawn McCarney        'ucd90160_device_tests.cpp',
11fec38334SShawn McCarney        'ucd90320_device_tests.cpp',
1271d7fe43SShawn McCarney        'ucd90x_device_tests.cpp',
13*516e22feSPatrick Williams        dependencies: [gmock, gtest, nlohmann_json_dep, phosphor_logging],
14d6e9bfe2SShawn McCarney        link_args: dynamic_linker,
15d6e9bfe2SShawn McCarney        build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
16*516e22feSPatrick Williams        link_with: [phosphor_power_sequencer_library, libpower],
17d6e9bfe2SShawn McCarney        implicit_include_directories: false,
18*516e22feSPatrick Williams        include_directories: ['.', '../src', '../..'],
19*516e22feSPatrick Williams    ),
20d6e9bfe2SShawn McCarney)
21