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 --- test/meson.build | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'test') 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