meson.build 281 B

123456789101112131415161718
  1. tests = [
  2. 'crypto',
  3. ]
  4. sources = [
  5. gnome.compile_resources('iridium-test',
  6. 'test.gresource.xml',
  7. c_name: 'iridium'
  8. )
  9. ]
  10. foreach t: tests
  11. e = executable(t,
  12. sources: sources + ['test-@0@.c'.format(t)],
  13. dependencies: libiridium_dep
  14. )
  15. test(t, e)
  16. endforeach