[gnome-contacts] Pass --nonet to appstream-util
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Pass --nonet to appstream-util
- Date: Thu, 20 Dec 2018 18:38:12 +0000 (UTC)
commit ddd91b107ceb3b44a0f08f90d5db2212d5e9c9c5
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Dec 20 13:48:34 2018 +0000
Pass --nonet to appstream-util
Flatpak builds doesn't have network access. We run the ninja tests there.
The network is only used to fetch the screenshots and validate them.
Make sure they are always valid by running the tests locally before updating the screenshots.
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index ebeb6c7..dd18c95 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -46,7 +46,7 @@ if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
- 'validate-relax', appdata_file.full_path()
+ 'validate-relax', '--nonet', appdata_file.full_path()
]
)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]