blob: de1ac88ac833969476ada3a185a96de66ec2560f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/libsecret/meson.build
+++ b/libsecret/meson.build
@@ -306,7 +306,7 @@ if get_option('introspection')
# Vala tests
# FIXME: Don't add Vala tests when generating a coverage build, as this
# will fail due to https://github.com/mesonbuild/meson/issues/7426
- if get_option('vapi') and not get_option('b_coverage')
+ if get_option('vapi') and not get_option('b_coverage') and get_option('test_setup').enabled()
# FIXME: the "native" kwarg should be added once we can require meson ≥0.54
add_languages('vala')
valac = meson.get_compiler('vala')
|