Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 1 | tests = [ |
| 2 | 'handler_test', |
| 3 | 'request_test', |
| 4 | ] |
| 5 | |
| 6 | foreach t : tests |
| 7 | test(t, executable(t.underscorify(), t + '.cpp', |
| 8 | implicit_include_directories: false, |
Andrew Jeffery | 7c1dc7e | 2023-04-28 14:52:16 +0930 | [diff] [blame] | 9 | include_directories: [ '../../', '../../pldmd' ], |
Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 10 | dependencies: [ |
| 11 | gtest, |
| 12 | gmock, |
| 13 | libpldm_dep, |
Patrick Williams | cf77284 | 2023-12-07 14:39:52 -0600 | [diff] [blame] | 14 | nlohmann_json_dep, |
Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 15 | phosphor_dbus_interfaces, |
Riya Dixit | 49cfb13 | 2023-03-02 04:26:53 -0600 | [diff] [blame] | 16 | phosphor_logging_dep, |
Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 17 | sdbusplus, |
| 18 | sdeventplus, |
Andrew Jeffery | 7c1dc7e | 2023-04-28 14:52:16 +0930 | [diff] [blame] | 19 | ]), |
Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 20 | workdir: meson.current_source_dir()) |
| 21 | endforeach |