diff options
author | David Robillard <d@drobilla.net> | 2021-01-11 02:45:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-16 19:06:31 -0400 |
commit | 2f2fac062817a6cca82078fc6dcc6401fca3e292 (patch) | |
tree | 60eb33ae3d070e487a29b017a713d1b05edf83c7 /test/meson.build | |
parent | c46452c83d442de137fa6470ba544e3ba142e923 (diff) | |
download | sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.gz sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.bz2 sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.zip |
WIP: Switch to Meson
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..fe37bd3 --- /dev/null +++ b/test/meson.build @@ -0,0 +1,19 @@ +autoship = find_program('autoship', required: false) + +unit_tests = [ + 'sratom', +] + +foreach unit : unit_tests + test(unit, + executable('test_@0@'.format(unit), + 'test_@0@.c'.format(unit), + c_args: prog_args, + include_directories: include_directories(['../src']), + dependencies: [sratom_dep, serd_dep, sord_dep]), + suite: 'unit') +endforeach + +if autoship.found() + test('autoship', autoship, args: ['test', sratom_src_root], suite: 'data') +endif |