Use LOG_COMPILER instead of TESTS_ENVIRONMENT in tests/Makefile.am

TESTS_ENVIRONMENT is no longer a safe place to put an Emacs
invocation.  However, LOG_COMPILER was introduced in Automake 1.12 for
such things.

Tested with Automake 1.13.1.
This commit is contained in:
Magnus Henoch 2013-01-28 01:26:49 +00:00
parent c03c1f8d89
commit 506e6de9f4
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
TESTS_ENVIRONMENT = env top_builddir=$(top_builddir) $(EMACS) -batch -L $(top_builddir) -L $(top_srcdir) -L $(srcdir) -l
# LOG_COMPILER was introduced in Automake 1.12; don't expect "make
# check" or "make distcheck" to work with earlier versions.
LOG_COMPILER = env top_builddir=$(top_builddir) $(EMACS) -batch -L $(top_builddir) -L $(top_srcdir) -L $(srcdir) -l
TESTS = load-all.el skip-tag-forward.el history.el jabberd.el nick-change-fail.el
dist_noinst_DATA = $(TESTS)