xref: /openbmc/pldm/test/meson.build (revision b3b84b49)
1pldmd_inc = include_directories('../')
2test_src = declare_dependency(include_directories: pldmd_inc)
3
4tests = ['pldmd_registration_test']
5
6foreach t : tests
7    test(
8        t,
9        executable(
10            t.underscorify(),
11            t + '.cpp',
12            implicit_include_directories: false,
13            dependencies: [libpldm_dep, nlohmann_json_dep, gtest, test_src],
14        ),
15        workdir: meson.current_source_dir(),
16    )
17endforeach
18