xref: /openbmc/phosphor-power/test/meson.build (revision 35a7d0ca)
1test(
2    'nvtest',
3    executable(
4        'nvtest', 'nvtest.cpp',
5        dependencies: [
6            gmock,
7            gtest,
8        ],
9        link_args: dynamic_linker,
10        build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
11        implicit_include_directories: false,
12        include_directories: '..',
13    )
14)
15
16test(
17    'file_descriptor_tests',
18    executable(
19        'file_descriptor_tests', 'file_descriptor_tests.cpp',
20        dependencies: [
21            gtest,
22        ],
23        link_args: dynamic_linker,
24        build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
25        implicit_include_directories: false,
26        include_directories: '..',
27    )
28)
29