summary refs log tree commit diff
path: root/tests/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-11 13:55:49 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-11 13:55:49 +0100
commitb29f947d2290935fb5dd6ec466f88cc10a24d65e (patch)
tree9e419da8aab258d50a2e1175e5d145e284380351 /tests/packages.scm
parent8a43ff101e28c432cf96333018c4b0c35acf9d64 (diff)
downloadguix-b29f947d2290935fb5dd6ec466f88cc10a24d65e.tar.gz
build: Skip one 'package-source-derivation' test when networking is missing.
* tests/packages.scm ("package-source-derivation, snippet"): Skip when
  networking is missing.
Diffstat (limited to 'tests/packages.scm')
-rw-r--r--tests/packages.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index 04e3b0bce9..6ac215be4c 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -139,6 +139,8 @@
     (and (direct-store-path? source)
          (string-suffix? "utils.scm" source))))
 
+(unless (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV))
+  (test-skip 1))
 (test-equal "package-source-derivation, snippet"
   "OK"
   (let* ((file   (search-bootstrap-binary "guile-2.0.9.tar.xz"