xref: /openbmc/phosphor-power/power-supply/test/meson.build (revision 8b38b177315d40f1f9bc1e4d0784d45ea17cbd5c)
1test(
2    'test_records',
3    executable(
4        'test_records',
5        'test_records.cpp',
6        dependencies: [
7            gtest,
8            phosphor_dbus_interfaces,
9            phosphor_logging,
10            sdbusplus,
11        ],
12        implicit_include_directories: false,
13        include_directories: '../..',
14        link_args: dynamic_linker,
15        build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
16        link_with: [libpower],
17        objects: record_manager,
18    ),
19)
20