xref: /openbmc/phosphor-power/test/meson.build (revision dd6c3661)
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        'temporary_subdirectory_tests.cpp',
9        dependencies: [
10            gmock,
11            gtest,
12        ],
13        link_args: dynamic_linker,
14        build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
15        link_with: [
16            libpower
17        ],
18        implicit_include_directories: false,
19        include_directories: '..',
20    )
21)
22