[gnome-games/meson-tests] Meson: validate appdata without network access
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/meson-tests] Meson: validate appdata without network access
- Date: Sat, 19 Jan 2019 21:56:42 +0000 (UTC)
commit 2bb0e987e46503da80be967a1813caedd5616db9
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sat Jan 19 21:56:27 2019 +0000
Meson: validate appdata without network access
Currently, we run the appdata validation tests without network access (due to flatpak) and other distros
do the same.
The network access is only used to validate screenshots. We can fix that by removing the network access
for tests.
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index 4c87a4fe..d31274b5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -49,7 +49,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]