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