diff options
author | David Robillard <d@drobilla.net> | 2022-09-08 12:20:42 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-08 12:20:42 -0400 |
commit | a6d1c7e85fe72144e5bd1c95a2037a2db7f63afe (patch) | |
tree | 6bf9a049e087a9e19b98fa134f9a19dbe56f212f /test | |
parent | d73573533c0f40bbd529cffda7474ea9117d5228 (diff) | |
download | lilv-a6d1c7e85fe72144e5bd1c95a2037a2db7f63afe.tar.gz lilv-a6d1c7e85fe72144e5bd1c95a2037a2db7f63afe.tar.bz2 lilv-a6d1c7e85fe72144e5bd1c95a2037a2db7f63afe.zip |
Only run REUSE test in strict mode
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/test/meson.build b/test/meson.build index aa57e1f..9b045b3 100644 --- a/test/meson.build +++ b/test/meson.build @@ -5,20 +5,22 @@ # Project Metadata # #################### -# Check release metadata -if get_option('strict') and not meson.is_subproject() - autoship = find_program('autoship', required: false) - if autoship.found() - test('autoship', autoship, args: ['test', lilv_src_root], suite: 'data') +if get_option('strict') + # Check release metadata + if not meson.is_subproject() + autoship = find_program('autoship', required: false) + if autoship.found() + test('autoship', autoship, args: ['test', lilv_src_root], suite: 'data') + endif endif -endif -# Check licensing metadata -reuse = find_program('reuse', required: false) -if reuse.found() - test('REUSE', reuse, - args: ['--root', lilv_src_root, 'lint'], - suite: 'data') + # Check licensing metadata + reuse = find_program('reuse', required: false) + if reuse.found() + test('REUSE', reuse, + args: ['--root', lilv_src_root, 'lint'], + suite: 'data') + endif endif ############## |