Commit 0a7330a7 authored by Bob Ham's avatar Bob Ham
Browse files

data: Fix tests for desktop and appstream files

parent 4d453f4b
......@@ -7,8 +7,9 @@ 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']
)
args: [join_paths(meson.current_source_dir(),
'sm.puri.Calls.desktop')
])
endif
# Appdata file
......@@ -19,8 +20,10 @@ 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']
)
args: ['validate-relax',
join_paths(meson.current_source_dir(),
'sm.puri.Calls.appdata.xml')
])
endif
# Icons
......
Markdown is supported
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