tests: Move some of the narinfo test tools to (guix tests).
authorLudovic Courtès <ludo@gnu.org>
Tue, 28 Oct 2014 23:09:38 +0000 (00:09 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 28 Oct 2014 23:31:23 +0000 (00:31 +0100)
commite6740741d188e01cb1a0b9c7db597a25128889d5
tree5d9eae3c86e24a788204da4814dd06a40056507c
parenta96a82d79ead164e19a78f572254cf7f6f54d17c
tests: Move some of the narinfo test tools to (guix tests).

* guix/tests.scm (derivation-narinfo, call-with-derivation-narinfo): New
  procedures.
  (with-derivation-narinfo): New macro.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use them.
guix/tests.scm
tests/derivations.scm