tests = [ 'crypto', ] sources = [ gnome.compile_resources('iridium-test', 'test.gresource.xml', c_name: 'iridium' ) ] foreach t: tests e = executable(t, sources: sources + ['test-@0@.c'.format(t)], dependencies: libiridium_dep ) test(t, e) endforeach