stefan pushed a commit to branch master.
Author: Stefan Schmidt <s.schm...@samsung.com>
Date: Wed Apr 22 17:03:18 2015 +0200
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
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
yet installed builddir.
Thanks to Lukasz Stanislawski for pointing me to this.
src/tests/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 551a255..a33bfa5 100644
@@ -1,3 +1,6 @@
+AM_TESTS_ENVIRONMENT = \
AUTOMAKE_OPTIONS = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \