cases = [ 'change', 'blake3' ] foreach testcase : cases srcs = files('test_@0@.c'.format(testcase)) exe = executable('test_@0@'.format(testcase), srcs, link_with : lib) test(testcase, exe, suite : 'unit', timeout : 120) endforeach