Alexander Hansen | 8d9e6da | 2025-01-14 14:17:19 +0100 | [diff] [blame^] | 1 | |
| 2 | testcases = [ |
| 3 | 'test_device_specific_update_function', |
| 4 | 'test_device_start_update_async_success', |
| 5 | 'test_device_start_update_async_invalid_fd', |
| 6 | ] |
| 7 | |
| 8 | foreach t : testcases |
| 9 | test( |
| 10 | t, |
| 11 | executable( |
| 12 | t, |
| 13 | f'@t@.cpp', |
| 14 | include_directories: [ |
| 15 | common_include, |
| 16 | ], |
| 17 | dependencies: [ |
| 18 | libpldm_dep, |
| 19 | sdbusplus_dep, |
| 20 | phosphor_logging_dep, |
| 21 | gtest, |
| 22 | ], |
| 23 | link_with: [libpldmutil, libpldmcreatepkg, software_common_lib, libnopdevice] |
| 24 | ) |
| 25 | ) |
| 26 | endforeach |
| 27 | |