guix-commits
[Top][All Lists]
Advanced

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

02/02: import: Use a 'file://' URL in 'alist->package' test.


From: Ludovic Courtès
Subject: 02/02: import: Use a 'file://' URL in 'alist->package' test.
Date: Fri, 6 Oct 2017 08:16:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8b920d707ed07a3251227f77526cf875d86a4417
Author: Ludovic Courtès <address@hidden>
Date:   Fri Oct 6 14:15:34 2017 +0200

    import: Use a 'file://' URL in 'alist->package' test.
    
    * tests/import-utils.scm ("alist->package with simple source"): Use a
    'file://' URL.
---
 tests/import-utils.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/import-utils.scm b/tests/import-utils.scm
index 3d8d2c6..f4bbd33 100644
--- a/tests/import-utils.scm
+++ b/tests/import-utils.scm
@@ -43,7 +43,10 @@
 (test-assert "alist->package with simple source"
   (let* ((meta '(("name" . "hello")
                  ("version" . "2.10")
-                 ("source" . "mirror://gnu/hello/hello-2.10.tar.gz")
+                 ("source" .
+                  ;; Use a 'file://' URI so that we don't cause a download.
+                  ,(string-append "file://"
+                                  (search-path %load-path "guix.scm")))
                  ("build-system" . "gnu")
                  ("home-page" . "https://gnu.org";)
                  ("synopsis" . "Say hi")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]