xref: /openbmc/phosphor-power/test/meson.build (revision 7affb1f2)
1test(
2    'common-code-tests',
3    executable(
4        'common-code-tests',
5        'file_descriptor_tests.cpp',
6        'nvtest.cpp',
7        'temporary_file_tests.cpp',
8        dependencies: [
9            gmock,
10            gtest,
11        ],
12        link_args: dynamic_linker,
13        build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
14        link_with: [
15            libpower
16        ],
17        implicit_include_directories: false,
18        include_directories: '..',
19    )
20)
21