aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-02-12 17:18:24 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-02-21 17:10:04 +0000
commitd5b8f18f1727fdf99220dc83eba6075f63c6f318 (patch)
tree51857cc5943e5308eb3fff7816a1c9eb880b156b
parent1d36df3d4077fb887f934b15c2f7c8ae70679e4f (diff)
downloadmeson-d5b8f18f1727fdf99220dc83eba6075f63c6f318.zip
meson-d5b8f18f1727fdf99220dc83eba6075f63c6f318.tar.gz
meson-d5b8f18f1727fdf99220dc83eba6075f63c6f318.tar.bz2
Skip test cases/frameworks/12 multiple gir if g-ir-scanner not found
-rw-r--r--test cases/frameworks/12 multiple gir/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/frameworks/12 multiple gir/meson.build b/test cases/frameworks/12 multiple gir/meson.build
index 794abc5..ddc9830 100644
--- a/test cases/frameworks/12 multiple gir/meson.build
+++ b/test cases/frameworks/12 multiple gir/meson.build
@@ -1,5 +1,10 @@
project('multiple-gobject-introspection', 'c')
+gir = find_program('g-ir-scanner', required: false)
+if not gir.found()
+ error('MESON_SKIP_TEST g-ir-scanner not found.')
+endif
+
gnome = import('gnome')
gobj = dependency('gobject-2.0')