[gnome-games/meson-tests] build: validate appdata without network access



commit b546814ba8683f8e23897d49b495a6ddc1957e65
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jan 19 21:56:27 2019 +0000

    build: 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]