[connections/gnome-41] build: Don't use internet for appstream validation test



commit 98a1d1a54ca6bf6f40d08a1bc66bbd879e4262fa
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sat Sep 11 10:59:29 2021 -0400

    build: Don't use internet for appstream validation test
    
    Distros commonly build on computers without a direct
    Internet connection. The build tests should still be
    able to run on these systems.

 data/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index 8fda36b..57f4e44 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -31,7 +31,7 @@ appstream_file = i18n.merge_file(
 appstream_util = find_program('appstream-util', required: false)
 if appstream_util.found()
   test('Validate appstream file', appstream_util,
-    args: ['validate', appstream_file]
+    args: ['validate', '--nonet', appstream_file]
   )
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]