test: Switch to appstreamcli for metainfo validation.

This commit is contained in:
Jesse Rhodes
2026-04-05 10:31:19 -04:00
parent b9ff051043
commit 093ffe791e

View File

@@ -13,10 +13,10 @@ if get_option('gtk-frontend')
install_dir: metainfodir install_dir: metainfodir
) )
appstream_util = find_program('appstream-util', required: false) appstreamcli = find_program('appstreamcli', required: false)
if appstream_util.found() if appstreamcli.found()
test('Validate net.zoite.Zoitechat.appdata.xml', appstream_util, test('Validate net.zoite.Zoitechat.appdata.xml', appstreamcli,
args: ['validate-relax', zoitechat_appdata] args: ['validate', zoitechat_appdata]
) )
endif endif
endif endif