path: root/src/Makefile_Edje.am
diff options
authorTom Hacohen <tom@stosb.com>2016-04-15 17:54:32 +0100
committerTom Hacohen <tom@stosb.com>2016-04-15 18:18:22 +0100
commitb337558fd673b88d3ae016f018dbab6f321150e1 (patch)
treeb8555471cbd8770eef77eead629da6ee093a4cfa /src/Makefile_Edje.am
parentElm test layout: Fix indentation. (diff)
Edje tests: Fix tests when running out of source and remove hack.
There was a seriously horrible hack here to workaround this issue. This hacks goes all the way back to 3e07236. The essence of the hack was to try the system files for the tests (and I guess that's why we were shipping them although we really shouldn't). This change fixes the file lookup for out of source files. Hat-tip to zmike for pointing me to abs_top_buildir.
Diffstat (limited to 'src/Makefile_Edje.am')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 2bcf7d2e24..458a98ff67 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -276,7 +276,7 @@ tests/edje/edje_suite.h
tests_edje_edje_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edje\" \
--DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edje\" \
+-DTESTS_BUILD_DIR=\"$(abs_top_builddir)/src/tests/edje\" \
tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)