tests/build: Make sure tests are finding the theme file
authorStefan Schmidt <s.schmidt@samsung.com>
Wed, 22 Apr 2015 15:03:18 +0000 (17:03 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Thu, 6 Aug 2015 17:38:58 +0000 (19:38 +0200)
commite6b4283c6afb93eba5d628830a6b00545691ad53
treef377134ccb7c9133d498ef02616ed2936f3f9dab
parent8342f2bdefc5aebadf0315e2a679543c6a72d857
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
src/tests/Makefile.am