blob: 29f4303569c68e9953a3151774c3122b9292b065 [file] [log] [blame]
Tom Joseph74f27c72021-05-16 07:58:53 -07001tests = [
2 'handler_test',
3 'request_test',
4]
5
6foreach t : tests
7 test(t, executable(t.underscorify(), t + '.cpp',
8 implicit_include_directories: false,
Andrew Jeffery7c1dc7e2023-04-28 14:52:16 +09309 include_directories: [ '../../', '../../pldmd' ],
Tom Joseph74f27c72021-05-16 07:58:53 -070010 dependencies: [
11 gtest,
12 gmock,
13 libpldm_dep,
Patrick Williamscf772842023-12-07 14:39:52 -060014 nlohmann_json_dep,
Tom Joseph74f27c72021-05-16 07:58:53 -070015 phosphor_dbus_interfaces,
Riya Dixit49cfb132023-03-02 04:26:53 -060016 phosphor_logging_dep,
Tom Joseph74f27c72021-05-16 07:58:53 -070017 sdbusplus,
18 sdeventplus,
Andrew Jeffery7c1dc7e2023-04-28 14:52:16 +093019 ]),
Tom Joseph74f27c72021-05-16 07:58:53 -070020 workdir: meson.current_source_dir())
21endforeach