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