[nautilus/wip/oholy/add-meson-test-deps-to-fix-ci] ci: Specify test dependencies to fix pipeline
- From: Ondrej Holy <oholy src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [nautilus/wip/oholy/add-meson-test-deps-to-fix-ci] ci: Specify test dependencies to fix pipeline
 
- Date: Wed, 21 Apr 2021 08:30:02 +0000 (UTC)
 
commit 5a57045ec89b2c2d2b14cf3defa4484816164d1d
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Apr 21 10:18:55 2021 +0200
    ci: Specify test dependencies to fix pipeline
    
    The `validate-desktop`, `validate-desktop-autorun-software` and
    `validate-appdata` meson tests fail currently because of the updated meson.
    This is because of the recent change, which requires explicit specification
    of dependencies. Let's specify them to fix the pipeline.
    
    https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/372
 data/meson.build | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 9a4e2ff52..9e381b6e2 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -117,6 +117,9 @@ if desktop_file_validate.found()
     desktop_file_validate,
     args: [
       desktop.full_path()
+    ],
+    dependencies: [
+      desktop,
     ]
   )
   test(
@@ -124,6 +127,9 @@ if desktop_file_validate.found()
     desktop_file_validate,
     args: [
       desktop_autorun_software.full_path()
+    ],
+    dependencies: [
+      desktop_autorun_software,
     ]
   )
 endif
@@ -134,6 +140,9 @@ if appstream_util.found()
     'validate-appdata', appstream_util,
     args: [
       'validate-relax', '--nonet', appdata.full_path()
+    ],
+    dependencies: [
+      appdata,
     ]
   )
 endif
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]