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

data: Fix tests for desktop and appstream files

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