From 019dd5a29198b30075a1b45dc7ff71f0b024f500 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 Aug 2022 10:34:54 -0400 Subject: Only run autoship test in strict mode --- test/meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index 22b316b..a61ed0a 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,9 +2,11 @@ # SPDX-License-Identifier: CC0-1.0 OR ISC # Check release metadata -autoship = find_program('autoship', required: false) -if autoship.found() - test('autoship', autoship, args: ['test', lilv_src_root], suite: 'data') +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') + endif endif test_args = ['-DLILV_STATIC'] -- cgit v1.2.1