stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e6b4283c6afb93eba5d628830a6b00545691ad53

commit e6b4283c6afb93eba5d628830a6b00545691ad53
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 
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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 551a255..a33bfa5 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 = \

-- 


Reply via email to