Skip to content

Commit

Permalink
meson: Switch tests to appstreamcli
Browse files Browse the repository at this point in the history
  • Loading branch information
A6GibKm committed Mar 9, 2024
1 parent 245f341 commit ad2cec0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'appdata')
)

appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util,
args: ['validate', appstream_file]
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file]
)
endif

Expand Down

0 comments on commit ad2cec0

Please sign in to comment.