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:
parent
4d453f4b5b
commit
0a7330a7de
1 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue