build: do not rely on automake's AM_TESTS_ENVIRONMENT
authorJim Meyering <meyering@redhat.com>
Fri, 14 Sep 2012 17:38:33 +0000 (19:38 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 14 Sep 2012 18:15:11 +0000 (20:15 +0200)
* tests/local.mk (TESTS_ENVIRONMENT): Rename from AM_TESTS_ENVIRONMENT,
since it is not honored in automake-1.11.3 after all.
This reverts commit v8.19-38-g34c9c8f.  For now, I'll leave
the following commit that made bootstrap.conf require 1.11.2.
Prompted by a report of test failure from Pádraig Brady.

tests/local.mk

index 2440667..55700b5 100644 (file)
@@ -52,7 +52,7 @@ TEST_SUITE_LOG = tests/test-suite.log
 # variables that can perturb tests are unset or set to expected values.
 # The rest are envvar settings that propagate build-related Makefile
 # variables to test scripts.
-AM_TESTS_ENVIRONMENT =                         \
+TESTS_ENVIRONMENT =                            \
   . $(srcdir)/tests/lang-default;              \
   tmp__=$${TMPDIR-/tmp};                       \
   test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.;   \