summary refs log tree commit diff
path: root/tests/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-08-27 18:34:49 +0200
committerLudovic Courtès <ludo@gnu.org>2013-08-28 00:55:40 +0200
commit858e92823f3689d4d96464c254781de0803acb90 (patch)
tree768b67c9cb5e11b9b0b84e97a6c7133d3565d619 /tests/derivations.scm
parentaf807dea7f6382bbfa0db31f856529b23c29a43e (diff)
downloadguix-858e92823f3689d4d96464c254781de0803acb90.tar.gz
derivations: Rename #:dependency-graphs to #:references-graphs.
* guix/derivations.scm (derivation, build-expression->derivation):
  Rename #:dependency-graphs to #:references-graphs, for consistency in
  the terminology.
* tests/derivations.scm: Adjust accordingly.
Diffstat (limited to 'tests/derivations.scm')
-rw-r--r--tests/derivations.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm
index f9e6c28ec8..9092e3acd6 100644
--- a/tests/derivations.scm
+++ b/tests/derivations.scm
@@ -296,7 +296,7 @@
            (and (valid-path? %store p)
                 (equal? '(one two) (call-with-input-file p read)))))))
 
-(test-assert "derivation with #:dependency-graphs"
+(test-assert "derivation with #:references-graphs"
   (let* ((input1  (add-text-to-store %store "foo" "hello"
                                      (list %bash)))
          (input2  (add-text-to-store %store "bar"
@@ -312,7 +312,7 @@
                                      (list %mkdir)))
          (drv     (derivation %store "closure-graphs"
                               %bash `(,builder)
-                              #:dependency-graphs
+                              #:references-graphs
                               `(("bash" . ,%bash)
                                 ("input1" . ,input1)
                                 ("input2" . ,input2))
@@ -652,14 +652,14 @@ Deriver: ~a~%"
                    (derivation-path->output-path final2))
          (build-derivations %store (list final1 final2)))))
 
-(test-assert "build-expression->derivation with #:dependency-graphs"
+(test-assert "build-expression->derivation with #:references-graphs"
   (let* ((input   (add-text-to-store %store "foo" "hello"
                                      (list %bash %mkdir)))
          (builder '(copy-file "input" %output))
-         (drv     (build-expression->derivation %store "dependency-graphs"
+         (drv     (build-expression->derivation %store "references-graphs"
                                                 (%current-system)
                                                 builder '()
-                                                #:dependency-graphs
+                                                #:references-graphs
                                                 `(("input" . ,input))))
          (out     (derivation-path->output-path drv)))
     (define (deps path . deps)