build: Fix Flatpak CI test failures caused by meson 0.57

Add previously implicit build dependencies for tests.

See GNOME/gnome-build-meta#372,
https://discourse.gnome.org/t/meson-0-57-update-may-break-tests-ci/6220
This commit is contained in:
Michael Gratton 2021-04-23 00:36:54 +10:00
parent c0577d4bf6
commit 454cc0bcfe
2 changed files with 17 additions and 3 deletions

View file

@ -39,7 +39,10 @@ foreach desktop_file: desktop_output
test(
'desktop-file-validate',
desktop_file_validate,
args: [ desktop_file.full_path() ]
args: [ desktop_file.full_path() ],
depends: [
desktop_file,
]
)
endif
endforeach
@ -69,6 +72,9 @@ if appstream_util.found()
appstream_util,
args: [
'validate-relax', '--nonet', appdata_merged.full_path()
],
depends: [
appdata_merged,
]
)
endif