Merge branch 'wip/nielsdg/fix-ci-coverage' into 'master'

ci: Fix the coverage build

See merge request GNOME/libsecret!61
This commit is contained in:
Niels De Graef 2020-11-15 20:07:48 +00:00
commit 21cca20c18

View File

@ -303,7 +303,9 @@ if get_option('introspection')
endif endif
# Vala tests # Vala tests
if get_option('vapi') # 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')
# FIXME: the "native" kwarg should be added once we can require meson ≥0.54 # FIXME: the "native" kwarg should be added once we can require meson ≥0.54
add_languages('vala') add_languages('vala')
valac = meson.get_compiler('vala') valac = meson.get_compiler('vala')