summaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-12-14 21:03:10 +0100
committerNick Mathewson <nickm@torproject.org>2015-12-14 15:45:23 -0500
commit254d63dabe0b89f83c4df0edb1daf719cc5d4ab7 (patch)
tree03698be888ee1ee0942e28d851e273afe4f6ca01 /src/test/include.am
parentff843ed39f78ac9762c80261ade580d31fb3a9a9 (diff)
downloadtor-254d63dabe0b89f83c4df0edb1daf719cc5d4ab7.tar.gz
tor-254d63dabe0b89f83c4df0edb1daf719cc5d4ab7.zip
Use TESTS_ENVIRONMENT for older Automake versions
The AM_TESTS_ENVIRONMENT variable is available since Automake v1.12 but some distributions have older Automake versions so we use TESTS_ENVIRONMENT.
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/include.am b/src/test/include.am
index 9577e1e80f..7a02a4e2f2 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -1,4 +1,7 @@
-AM_TESTS_ENVIRONMENT = \
+# When the day comes that Tor requires Automake >= 1.12 change
+# TESTS_ENVIRONMENT to AM_TESTS_ENVIRONMENT because the former is reserved for
+# users while the later is reserved for developers.
+TESTS_ENVIRONMENT = \
export PYTHON="$(PYTHON)"; \
export SHELL="$(SHELL)"; \
export abs_top_srcdir="$(abs_top_srcdir)"; \