build: Run all the tests against the just-built daemon.
authorLudovic Courtès <ludo@gnu.org>
Wed, 5 Dec 2012 23:03:26 +0000 (00:03 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 5 Dec 2012 23:07:08 +0000 (00:07 +0100)
commit69cfce50dbb2000c5f5d98f0f364fe324004bf99
treeceb925ad7fa3f30b88c6074a071a229a31f769eb
parentb980f0f9fd6f926f2a1130f77bd3cdb70e741429
build: Run all the tests against the just-built daemon.

* test-env.in: New file.
* configure.ac: Add it to `AC_CONFIG_FILES' and `commands-exec'.
* config-daemon.ac: Set and substitute `GUIX_TEST_ROOT'.
* Makefile.am (SCM_LOG_COMPILER, SH_LOG_COMPILER): Use it in lieu of
  `pre-inst-env'.
* daemon.am (test_root): Remove
  (AM_TESTS_ENVIRONMENT): Remove `TEST_ROOT'.
  (clean-local): Use $(GUIX_TEST_ROOT); make files writable before
  removing them.guix_test_root
* tests/guix-daemon.sh: Remove `NIX_' variable settings; don't launch
  `guix-daemon'.
.gitignore
Makefile.am
config-daemon.ac
configure.ac
daemon.am
test-env.in [new file with mode: 0644]
tests/guix-daemon.sh