GNOME Bugzilla – Bug 782996
build: Use AM_TESTS_ENVIRONMENT rather than TESTS_ENVIRONMENT
Last modified: 2017-05-23 18:17:09 UTC
Trivial patch attached, but needs some close review as it changes the glib-tap.mk copyscript.
Created attachment 352417 [details] [review] 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>
Review of attachment 352417 [details] [review]: LGTM. Changing glib-tap.mk seems safe enough to me since it's not installed; consumers will have to explicitly re-copy.
Attachment 352417 [details] pushed as a05b64a - build: Use AM_TESTS_ENVIRONMENT rather than TESTS_ENVIRONMENT