build: Use AM_TESTS_ENVIRONMENT rather than TESTS_ENVIRONMENT

TESTS_ENVIRONMENT is reserved for the user to be able to set when
running the tests. AM_TESTS_ENVIRONMENT is for the tests’ Makefile to
set itself.

https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=782996
This commit is contained in:
Philip Withnall
2017-05-23 13:28:19 +01:00
parent af3f141c09
commit a05b64a0cb
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ TESTS += \
signal4 \
$(NULL)
TESTS_ENVIRONMENT = srcdir=$(srcdir) \
AM_TESTS_ENVIRONMENT = srcdir=$(srcdir) \
LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset
signal1_SOURCES = signals.c