blob: a1b3549c3beb19218ea11cf1df2f4c835da92bef [file] [log] [blame]
Manojkiran Eda06fca442022-08-18 07:52:11 +05301pldmd_inc = include_directories('../')
Tom Joseph53279882021-04-28 06:29:13 -07002test_src = declare_dependency(
Manojkiran Eda06fca442022-08-18 07:52:11 +05303 include_directories:pldmd_inc)
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05004
5tests = [
Deepak Kodihallibc669f12019-11-28 08:52:07 -06006 'pldmd_registration_test',
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05007]
8
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05009foreach t : tests
10 test(t, executable(t.underscorify(), t + '.cpp',
11 implicit_include_directories: false,
Deepak Kodihalli4de4d002019-11-11 02:41:43 -060012 dependencies: [
Patrick Williams6f4479c2021-04-16 21:39:44 -050013 libpldm_dep,
Patrick Williamscf772842023-12-07 14:39:52 -060014 nlohmann_json_dep,
Deepak Kodihalli4de4d002019-11-11 02:41:43 -060015 gtest,
Tom Joseph53279882021-04-28 06:29:13 -070016 test_src]),
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050017 workdir: meson.current_source_dir())
18endforeach