summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2021-04-21 16:35:43 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2021-04-28 13:23:39 -0500
commitc40a2be787df03dca706b2d70450795791b556ea (patch)
tree20044dbc41ce1bee6837e786030047101574d19e
parentf6a5a74d3c5b4da25663fb8afb4501d6bcf87118 (diff)
downloadepiphany-c40a2be787df03dca706b2d70450795791b556ea.tar.gz
Add missing test dependencies to fix CI
See gnome-build-meta#372
-rw-r--r--data/meson.build8
-rw-r--r--src/meson.build4
-rw-r--r--tests/meson.build10
3 files changed, 12 insertions, 10 deletions
diff --git a/data/meson.build b/data/meson.build
index ae77632b6..46df3fd80 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -124,9 +124,8 @@ if desktop_file_validate.found()
test(
'validate-desktop',
desktop_file_validate,
- args: [
- desktop.full_path()
- ]
+ args: desktop.full_path(),
+ depends: desktop
)
endif
@@ -136,6 +135,7 @@ 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..7f77173f2 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,
@@ -148,7 +148,7 @@ epiphany_sources = [
readability_resources,
]
-executable('epiphany',
+epiphany = executable('epiphany',
epiphany_sources,
dependencies: ephymain_dep,
install: true,
diff --git a/tests/meson.build b/tests/meson.build
index 800239ac4..aebe007c0 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
@@ -162,8 +163,9 @@ if get_option('unit_tests').enabled()
c_args: test_cargs,
)
test('Web app utils test',
- web_app_utils_test,
- env: envs
+ web_app_utils_test,
+ env: envs,
+ depends: epiphany
)
web_view_test = executable('test-ephy-web-view',