build: Adjust tests to Automake 1.12.
authorLudovic Courtès <ludo@gnu.org>
Sat, 7 Jul 2012 20:50:27 +0000 (22:50 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 7 Jul 2012 20:51:40 +0000 (22:51 +0200)
* Makefile.am (TESTS_ENVIRONMENT): Remove `guile' invocation.  Add
  semicolons, and export the variables as shown in the Automake 1.12
  manual.
  (LOG_COMPILER): New variable, with `guile' invocation.

.gitignore
Makefile.am

index 29879a5..a211be9 100644 (file)
@@ -35,3 +35,4 @@ config.cache
 /po/stamp-po
 /po/guix.pot
 /guix-build
+/tests/*.trs
index a096c9b..8f8cb12 100644 (file)
@@ -48,9 +48,12 @@ TESTS =                                              \
   tests/build-utils.scm                                \
   tests/packages.scm
 
-TESTS_ENVIRONMENT =                                                    \
-  NIXPKGS="$(NIXPKGS)"                                                 \
-  GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH"        \
+TESTS_ENVIRONMENT =                                                            \
+  NIXPKGS="$(NIXPKGS)";                                                                \
+  GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH";       \
+  export NIXPKGS GUILE_LOAD_COMPILED_PATH;
+
+LOG_COMPILER =                                 \
   $(GUILE) --no-auto-compile -L "$(top_srcdir)"
 
 EXTRA_DIST = build-aux/config.rpath $(TESTS)