Commit 38d053a8 authored by Michael Catanzaro's avatar Michael Catanzaro
Browse files

Add missing test dependencies to fix CI

See gnome-build-meta#372


(cherry picked from commit c40a2be787df03dca706b2d70450795791b556ea)
parent ce013449
...@@ -124,9 +124,8 @@ if desktop_file_validate.found() ...@@ -124,9 +124,8 @@ if desktop_file_validate.found()
test( test(
'validate-desktop', 'validate-desktop',
desktop_file_validate, desktop_file_validate,
args: [ args: desktop.full_path(),
desktop.full_path() depends: desktop
]
) )
endif endif
...@@ -136,6 +135,7 @@ if appstream_util.found() ...@@ -136,6 +135,7 @@ if appstream_util.found()
'validate-appdata', appstream_util, 'validate-appdata', appstream_util,
args: [ args: [
'validate-relax', '--nonet', appdata.full_path() 'validate-relax', '--nonet', appdata.full_path()
] ],
depends: appdata
) )
endif endif
...@@ -103,7 +103,7 @@ ephymain_dep = declare_dependency( ...@@ -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', 'profile-migrator/ephy-profile-migrator.c',
dependencies: ephymain_dep, dependencies: ephymain_dep,
install: true, install: true,
...@@ -148,7 +148,7 @@ epiphany_sources = [ ...@@ -148,7 +148,7 @@ epiphany_sources = [
readability_resources, readability_resources,
] ]
executable('epiphany', epiphany = executable('epiphany',
epiphany_sources, epiphany_sources,
dependencies: ephymain_dep, dependencies: ephymain_dep,
install: true, install: true,
......
...@@ -97,8 +97,9 @@ if get_option('unit_tests').enabled() ...@@ -97,8 +97,9 @@ if get_option('unit_tests').enabled()
c_args: test_cargs, c_args: test_cargs,
) )
test('Migration test', test('Migration test',
migration_test, migration_test,
env: envs env: envs,
depends: ephy_profile_migrator
) )
# FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=707220 # FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=707220
...@@ -162,8 +163,9 @@ if get_option('unit_tests').enabled() ...@@ -162,8 +163,9 @@ if get_option('unit_tests').enabled()
c_args: test_cargs, c_args: test_cargs,
) )
test('Web app utils test', test('Web app utils test',
web_app_utils_test, web_app_utils_test,
env: envs env: envs,
depends: epiphany
) )
web_view_test = executable('test-ephy-web-view', web_view_test = executable('test-ephy-web-view',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment