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




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

    ci: Fix the coverage build

 libsecret/meson.build | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/libsecret/meson.build b/libsecret/meson.build
index 0c448b9..36fd1db 100644
--- a/libsecret/meson.build
+++ b/libsecret/meson.build
@@ -328,9 +328,13 @@ if get_option('introspection')
         c_args: test_cflags,
       )
 
-      test(_valatest, test_bin,
-        suite: 'vala',
-      )
+      # 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 not get_option('b_coverage')
+        test(_valatest, test_bin,
+          suite: 'vala',
+        )
+      endif
     endforeach
   endif
 


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