From 9f8cb2ba0da3dec1dcb136972e06621c16c6c274 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 Aug 2022 10:48:16 -0400 Subject: Only run autoship test in strict mode --- INSTALL.md | 4 ++++ test/meson.build | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 7109c35..903e680 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 -- cgit v1.2.1