Alexander Hansen | cc88baa | 2024-11-26 13:55:21 +0100 | [diff] [blame] | 1 | subdir('pldm') |
Alexander Hansen | 8d9e6da | 2025-01-14 14:17:19 +0100 | [diff] [blame^] | 2 | subdir('nopdevice') |
3 | subdir('device') | ||||
4 | subdir('software') | ||||
5 | |||||
6 | testcases = [ | ||||
7 | 'test_device_config', | ||||
8 | 'test_software_update', | ||||
9 | ] | ||||
10 | |||||
11 | foreach t : testcases | ||||
12 | test( | ||||
13 | t, | ||||
14 | executable( | ||||
15 | t, | ||||
16 | f'@t@.cpp', | ||||
17 | include_directories: [ | ||||
18 | common_include, | ||||
19 | ], | ||||
20 | dependencies: [ | ||||
21 | libpldm_dep, | ||||
22 | sdbusplus_dep, | ||||
23 | phosphor_logging_dep, | ||||
24 | gtest_main, | ||||
25 | ], | ||||
26 | link_with: [ | ||||
27 | libpldmutil, | ||||
28 | libpldmcreatepkg, | ||||
29 | software_common_lib, | ||||
30 | libnopdevice, | ||||
31 | ] | ||||
32 | ) | ||||
33 | ) | ||||
34 | endforeach |