~ruther/guix-local

b29f947d2290935fb5dd6ec466f88cc10a24d65e — Ludovic Courtès 12 years ago 8a43ff1
build: Skip one 'package-source-derivation' test when networking is missing.

* tests/packages.scm ("package-source-derivation, snippet"): Skip when
  networking is missing.
1 files changed, 2 insertions(+), 0 deletions(-)

M tests/packages.scm
M tests/packages.scm => tests/packages.scm +2 -0
@@ 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"