build: Use `pre-inst-env' to run tests.

* Makefile.am (TESTS_ENVIRONMENT): Remove.
  (LOG_COMPILER): Use `pre-inst-env'.
This commit is contained in:
Ludovic Courtès 2012-10-17 23:25:03 +02:00
parent 8587b54268
commit 9b9b6f3d51

View file

@ -70,15 +70,8 @@ TESTS = \
tests/build-utils.scm \
tests/packages.scm
TESTS_ENVIRONMENT = \
NIX_HASH="$(NIX_HASH)"; \
NIX_INSTANTIATE="$(NIX_INSTANTIATE)"; \
NIXPKGS="$(NIXPKGS)"; \
DISTRO_PATCH_DIRECTORY="$(top_srcdir)/distro/patches" \
GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH"; \
export NIX_HASH NIX_INSTANTIATE NIXPKGS GUILE_LOAD_COMPILED_PATH;
LOG_COMPILER = \
$(top_builddir)/pre-inst-env \
$(GUILE) --no-auto-compile -L "$(top_srcdir)"
EXTRA_DIST = \