tests/build: Make sure tests are finding the theme file

Our tests require a theme file. So far they picked this just from the system
where it was installed to in a previous run. We have situations where this would
not work though. Running make check before install on a new system or during
distcheck comes to mind.

With AM_TESTS_ENVIRONMENT we make that the theme is also looked for in the not
yet installed builddir.

Thanks to Lukasz Stanislawski for pointing me to this.

ref T2028
This commit is contained in:
Stefan Schmidt 2015-04-22 17:03:18 +02:00 committed by Stefan Schmidt
parent d4cfcbdad3
commit 1bcc441f2f
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
AM_TESTS_ENVIRONMENT = \
ELM_DATA_DIR=${top_builddir}/data
AUTOMAKE_OPTIONS = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \