From 447c6f30d0d28c7ddc7efc0e3b9380f063f38ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Sun, 31 Jul 2022 19:12:36 +0200 Subject: [PATCH] meson: Validate appstream file with "--nonet" arg We do not need network connection to validate our appstream file. Make it easier to run tests in containers that do not have network access. Closes #307 --- data/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/meson.build b/data/meson.build index e436efe5..d9353bd4 100644 --- a/data/meson.build +++ b/data/meson.build @@ -3,7 +3,7 @@ iconsdir = join_paths(datadir, 'icons', 'hicolor') appstream_util = find_program('appstream-util', required: false) if appstream_util.found() test('Validate appstream file', appstream_util, args: [ - 'validate-relax', + 'validate-relax', '--nonet', join_paths(meson.current_source_dir(), 'com.github.rafostar.Clapper.metainfo.xml') ]) endif