summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-22 11:00:40 -0400
committerDavid Robillard <d@drobilla.net>2022-08-22 11:00:40 -0400
commitcd349fd4f278bdf63aab2c2e477e8bad868e96ff (patch)
tree7e82a0e403c7184e1ec21134a6052b84ff479dd5
parent59015f84ae9e0816c45e9b1aaa827a61395aa1a1 (diff)
downloadpatchage-cd349fd4f278bdf63aab2c2e477e8bad868e96ff.tar.gz
patchage-cd349fd4f278bdf63aab2c2e477e8bad868e96ff.tar.bz2
patchage-cd349fd4f278bdf63aab2c2e477e8bad868e96ff.zip
Only run autoship test in strict mode
-rw-r--r--INSTALL.md4
-rw-r--r--meson.build20
2 files changed, 15 insertions, 9 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/meson.build b/meson.build
index 20642d8..fa4186e 100644
--- a/meson.build
+++ b/meson.build
@@ -237,15 +237,17 @@ install_man(files('doc/patchage.1'))
#########
if not get_option('tests').disabled() and not meson.is_subproject()
- # Check release metadata
- autoship = find_program('autoship', required: false)
- if autoship.found()
- test(
- 'autoship',
- autoship,
- args: ['test', patchage_src_root],
- suite: 'data',
- )
+ if get_option('strict')
+ # Check release metadata
+ autoship = find_program('autoship', required: false)
+ if autoship.found()
+ test(
+ 'autoship',
+ autoship,
+ args: ['test', patchage_src_root],
+ suite: 'data',
+ )
+ endif
endif
# Check licensing metadata