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