summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-02-21 21:51:55 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2019-02-21 21:53:25 +0100
commit442873a7b80761f195f9cf280637d09aead4d589 (patch)
tree1d2e9a489bcc0d08ab7862a3f3dba654cf0201b5 /src
parent41f0ebb52bfc6244032a2d33d7952518e2522667 (diff)
tests: fix elua test with autotools
For one, TESTS_SRC_DIR was missing even though it's present in meson. For two, top_builddir/top_srcdir are relative paths, which means the chdir added earlier would result in a wrong apps dir being pointed to; fix that by making all paths passed into the tests source absolute.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Elua.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile_Elua.am b/src/Makefile_Elua.am
index bc2513f903..5b1004b884 100644
--- a/src/Makefile_Elua.am
+++ b/src/Makefile_Elua.am
@@ -123,13 +123,14 @@ tests/elua/elua_suite.c \
123tests/elua/elua_suite.h 123tests/elua/elua_suite.h
124 124
125tests_elua_elua_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 125tests_elua_elua_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
126-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/elua\" \ 126-DTESTS_BUILD_DIR=\"$(abs_top_builddir)/src/tests/elua\" \
127-DTESTS_SRC_DIR=\"$(abs_top_srcdir)/src/tests/elua\" \
127-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/elua\" \ 128-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/elua\" \
128-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \ 129-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
129-DELUA_BINDINGS_DIR=\"$(ELUA_BINDINGS_DIR)\" \ 130-DELUA_BINDINGS_DIR=\"$(ELUA_BINDINGS_DIR)\" \
130-DELUA_CORE_DIR=\"$(ELUA_CORE_DIR)\" \ 131-DELUA_CORE_DIR=\"$(ELUA_CORE_DIR)\" \
131-DELUA_MODULES_DIR=\"$(ELUA_MODULES_DIR)\" \ 132-DELUA_MODULES_DIR=\"$(ELUA_MODULES_DIR)\" \
132-DELUA_APPS_DIR=\"$(top_srcdir)/src/tests/elua/data/apps\" \ 133-DELUA_APPS_DIR=\"$(abs_top_srcdir)/src/tests/elua/data/apps\" \
133@CHECK_CFLAGS@ \ 134@CHECK_CFLAGS@ \
134@ELUA_CFLAGS@ 135@ELUA_CFLAGS@
135 136