diff options
author | David Robillard <d@drobilla.net> | 2022-08-22 10:48:16 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-22 10:49:28 -0400 |
commit | 9f8cb2ba0da3dec1dcb136972e06621c16c6c274 (patch) | |
tree | af97356caf1ee03b2819a99c9c4d64b7cc4ab808 | |
parent | c5a6e53b41feb5201ce88a0ec1c72fa7cd5e2bcf (diff) | |
download | jalv-9f8cb2ba0da3dec1dcb136972e06621c16c6c274.tar.gz jalv-9f8cb2ba0da3dec1dcb136972e06621c16c6c274.tar.bz2 jalv-9f8cb2ba0da3dec1dcb136972e06621c16c6c274.zip |
Only run autoship test in strict mode
-rw-r--r-- | INSTALL.md | 4 | ||||
-rw-r--r-- | test/meson.build | 18 |
2 files changed, 14 insertions, 8 deletions
@@ -39,6 +39,10 @@ Options can be set by passing C-style "define" options to `configure`: meson configure -Dc_args="-march=native" -Dprefix="/opt/mypackage/" +Note that some options, such as `strict` and `werror` are for +developer/maintainer use only. Please don't file issues about anything that +happens when they are enabled. + Building -------- diff --git a/test/meson.build b/test/meson.build index f696dba..5e49673 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,14 +2,16 @@ # SPDX-License-Identifier: CC0-1.0 OR ISC if not meson.is_subproject() - # Check release metadata - autoship = find_program('autoship', required: get_option('tests')) - if autoship.found() - test( - 'autoship', autoship, - args: ['test', jalv_src_root], - suite: 'data', - ) + if get_option('strict') + # Check release metadata + autoship = find_program('autoship', required: get_option('tests')) + if autoship.found() + test( + 'autoship', autoship, + args: ['test', jalv_src_root], + suite: 'data', + ) + endif endif # Check licensing metadata |