summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-22 10:36:06 -0400
committerDavid Robillard <d@drobilla.net>2022-08-22 10:42:55 -0400
commitbfd94b1087cc0077cf1a751ef771424567b68a54 (patch)
tree496251757adb93d538c177c982774d0f96960e99
parent329345f3e4b4cd559dc2c00a9e15f403ccdf6072 (diff)
downloadsord-bfd94b1087cc0077cf1a751ef771424567b68a54.tar.gz
sord-bfd94b1087cc0077cf1a751ef771424567b68a54.tar.bz2
sord-bfd94b1087cc0077cf1a751ef771424567b68a54.zip
Only run autoship test in strict mode
-rw-r--r--INSTALL.md4
-rw-r--r--test/meson.build10
2 files changed, 10 insertions, 4 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 72a4870..551f44f 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -1,5 +1,3 @@
-autoship = find_program('autoship', required: false)
-
unit_tests = [
'sord',
]
@@ -17,6 +15,10 @@ foreach unit : unit_tests
)
endforeach
-if autoship.found()
- test('autoship', autoship, args: ['test', sord_src_root], suite: 'data')
+if get_option('strict') and not meson.is_subproject()
+ # Check release metadata
+ autoship = find_program('autoship', required: false)
+ if autoship.found()
+ test('autoship', autoship, args: ['test', sord_src_root], suite: 'data')
+ endif
endif