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