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