summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-22 10:34:54 -0400
committerDavid Robillard <d@drobilla.net>2022-08-22 10:42:44 -0400
commit019dd5a29198b30075a1b45dc7ff71f0b024f500 (patch)
treea50db59faa8a6ab21d9945f7b5b67da0e68d740e
parent4d2324d76a1fc3c30df779e4d26500483161ec89 (diff)
downloadlilv-019dd5a29198b30075a1b45dc7ff71f0b024f500.tar.gz
lilv-019dd5a29198b30075a1b45dc7ff71f0b024f500.tar.bz2
lilv-019dd5a29198b30075a1b45dc7ff71f0b024f500.zip
Only run autoship test in strict mode
-rw-r--r--INSTALL.md4
-rw-r--r--test/meson.build8
2 files changed, 9 insertions, 3 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 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']