1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

data: Fix tests for desktop and appstream files

This commit is contained in:
Bob Ham 2018-06-11 16:15:44 +01:00
parent 4d453f4b5b
commit 0a7330a7de

View file

@ -6,9 +6,10 @@ install_data('sm.puri.Calls.desktop',
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: ['sm.puri.Calls.desktop']
)
test('Validate desktop file', desktop_utils,
args: [join_paths(meson.current_source_dir(),
'sm.puri.Calls.desktop')
])
endif
# Appdata file
@ -18,9 +19,11 @@ install_data('sm.puri.Calls.appdata.xml',
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util,
args: ['validate-relax', 'sm.puri.Calls.appdata.xml']
)
test('Validate appstream file', appstream_util,
args: ['validate-relax',
join_paths(meson.current_source_dir(),
'sm.puri.Calls.appdata.xml')
])
endif
# Icons