1test(
2    'psutils-tests',
3    executable(
4        'psutils-tests',
5        'test_updater.cpp',
6        'test_utils.cpp',
7        'test_version.cpp',
8        '../updater.cpp',
9        '../utils.cpp',
10        '../version.cpp',
11        dependencies: [
12            gtest,
13            gmock,
14            nlohmann_json_dep,
15            phosphor_logging,
16        ],
17        implicit_include_directories: false,
18        include_directories: [
19            libpower_inc,
20            libi2c_inc,
21            libi2c_dev_mock_inc
22        ],
23        link_args: dynamic_linker,
24        build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
25        link_with: [
26            libpower,
27            libi2c_dev_mock
28        ],
29    )
30)
31