subdir('pldm') | |
subdir('nopdevice') | |
subdir('device') | |
subdir('software') | |
testcases = [ | |
'test_device_config', | |
'test_software_update', | |
] | |
foreach t : testcases | |
test( | |
t, | |
executable( | |
t, | |
f'@t@.cpp', | |
include_directories: [ | |
common_include, | |
], | |
dependencies: [ | |
libpldm_dep, | |
sdbusplus_dep, | |
phosphor_logging_dep, | |
gtest_main, | |
], | |
link_with: [ | |
libpldmutil, | |
libpldmcreatepkg, | |
software_common_lib, | |
libnopdevice, | |
] | |
) | |
) | |
endforeach |