build: Skip one 'package-source-derivation' test when networking is missing.

* tests/packages.scm ("package-source-derivation, snippet"): Skip when
  networking is missing.
This commit is contained in:
Ludovic Courtès 2013-12-11 13:55:49 +01:00
parent 8a43ff101e
commit b29f947d22
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@
(and (direct-store-path? source) (and (direct-store-path? source)
(string-suffix? "utils.scm" 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" (test-equal "package-source-derivation, snippet"
"OK" "OK"
(let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz" (let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz"