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