[epiphany/mcatanzaro/ci] Add missing test dependencies to fix CI




commit 4111f907fbdaabfc5d8f056c31fed17d857ad56f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Apr 21 16:35:43 2021 -0500

    Add missing test dependencies to fix CI
    
    See gnome-build-meta#372

 data/meson.build  | 6 ++++++
 src/meson.build   | 2 +-
 tests/meson.build | 5 +++--
 3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index ae77632b6..3aa004d91 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -126,6 +126,9 @@ if desktop_file_validate.found()
     desktop_file_validate,
     args: [
       desktop.full_path()
+    ],
+    depends: [
+      desktop
     ]
   )
 endif
@@ -136,6 +139,9 @@ if appstream_util.found()
     'validate-appdata', appstream_util,
     args: [
       'validate-relax', '--nonet', appdata.full_path()
+    ],
+    depends: [
+      appdata
     ]
   )
 endif
diff --git a/src/meson.build b/src/meson.build
index fa2318567..9fc9fc0cb 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -103,7 +103,7 @@ ephymain_dep = declare_dependency(
 )
 
 
-executable('ephy-profile-migrator',
+ephy_profile_migrator = executable('ephy-profile-migrator',
   'profile-migrator/ephy-profile-migrator.c',
   dependencies: ephymain_dep,
   install: true,
diff --git a/tests/meson.build b/tests/meson.build
index 800239ac4..d34dc54a0 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -97,8 +97,9 @@ if get_option('unit_tests').enabled()
     c_args: test_cargs,
   )
   test('Migration test',
-       migration_test,
-       env: envs
+    migration_test,
+    env: envs,
+    depends: ephy_profile_migrator
   )
 
   # FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=707220


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