[libsecret/wip/nielsdg/fix-ci-coverage] ci: Fix the coverage build




commit fae49c76d456e0031bf0a4482b01c28572debe62
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Nov 15 20:56:21 2020 +0100

    ci: Fix the coverage build

 libsecret/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libsecret/meson.build b/libsecret/meson.build
index 0c448b9..f57e363 100644
--- a/libsecret/meson.build
+++ b/libsecret/meson.build
@@ -303,7 +303,9 @@ if get_option('introspection')
   endif
 
   # 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
     add_languages('vala')
     valac = meson.get_compiler('vala')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]