diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2015-04-22 17:03:18 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2015-04-23 11:51:21 +0200 |
commit | e90ac3762a8bf294d7f8b378cd4138592ff06058 (patch) | |
tree | fd08dc1b5ee18e360e5f5ed562875d865782d285 | |
parent | 35dfc13e38c02fd30e55898eb871f6986804c498 (diff) | |
download | elementary-e90ac3762a8bf294d7f8b378cd4138592ff06058.tar.gz |
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
-rw-r--r-- | src/tests/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index 551a2556e..a33bfa5fb 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -1,3 +1,6 @@ +AM_TESTS_ENVIRONMENT = \ + ELM_DATA_DIR=${top_builddir}/data + AUTOMAKE_OPTIONS = 1.4 foreign MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = \ |