Factorize test suite support in (guix tests).
authorLudovic Courtès <ludo@gnu.org>
Sat, 23 Aug 2014 17:18:01 +0000 (19:18 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 23 Aug 2014 20:33:04 +0000 (22:33 +0200)
commitc1bc358f293b97c9575f6195c3e7a119b05199ce
tree2e75aafa414fe066598ca4f9f1b1b7eb4250c238
parent90a063f4ca4e538df669103a7ffdd211e45f63d6
Factorize test suite support in (guix tests).

* guix/tests.scm: New file.
* Makefile.am (noinst_DATA): New variable.
  (GOBJECTS): Add guix/tests.go.
* tests/builders.scm (%store): Use 'open-connection-for-tests'
  from (guix tests).
* tests/derivations.scm: Likewise.
* tests/monads.scm: Likewise.
* tests/packages.scm: Likewise.
* tests/profiles.scm: Likewise.
* tests/union.scm: Likewise.
* tests/gexp.scm: Likewise.
  (guile-for-build): Remove.  Use (%guile-for-build) instead.
* tests/nar.scm (make-random-bytevector, %seed, random-text): Remove.
  (populate-file): Change 'make-random-bytevector' to 'random-bytevector'.
  Use (guix tests).
* tests/store.scm (%seed, random-text): Remove.
  Use (guix tests).
Makefile.am
guix/tests.scm [new file with mode: 0644]
tests/builders.scm
tests/derivations.scm
tests/gexp.scm
tests/monads.scm
tests/nar.scm
tests/packages.scm
tests/profiles.scm
tests/store.scm
tests/union.scm