[tor-commits] [tor/master] Use TESTS_ENVIRONMENT for older Automake versions

nickm at torproject.org nickm at torproject.org
Mon Dec 14 20:46:03 UTC 2015


commit 254d63dabe0b89f83c4df0edb1daf719cc5d4ab7
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Mon Dec 14 21:03:10 2015 +0100

    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.
---
 src/test/include.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/test/include.am b/src/test/include.am
index 9577e1e..7a02a4e 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)"; \





More information about the tor-commits mailing list