summaryrefslogtreecommitdiff
path: root/src/Makefile_Elua.am
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-16 10:55:27 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:20 +0100
commitdbe34d803c37a1e9b85b787fba4f6e015c66c134 (patch)
treed6adf49a97fa213fd2777f6b500664fbaedb6ea8 /src/Makefile_Elua.am
parent7f05cfc0e6795f4dee66c0b9175c658f40d14ab4 (diff)
elua lib: add test suite
Diffstat (limited to 'src/Makefile_Elua.am')
-rw-r--r--src/Makefile_Elua.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Makefile_Elua.am b/src/Makefile_Elua.am
index 49ba426..fa2f078 100644
--- a/src/Makefile_Elua.am
+++ b/src/Makefile_Elua.am
@@ -102,4 +102,33 @@ eluacore_DATA = \
102 102
103EXTRA_DIST += $(eluacore_DATA) 103EXTRA_DIST += $(eluacore_DATA)
104 104
105if EFL_ENABLE_TESTS
106
107check_PROGRAMS += tests/elua/elua_suite
108
109tests_elua_elua_suite_SOURCES = \
110tests/elua/elua_lib.c \
111tests/elua/elua_suite.c \
112tests/elua/elua_suite.h
113
114tests_elua_elua_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
115-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/elua\" \
116-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/elua\" \
117-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
118@CHECK_CFLAGS@ \
119@ELUA_CFLAGS@
120
121TESTS += tests/elua/elua_suite
122
123if HAVE_OSX
124if HAVE_X86_64
125tests_elua_elua_suite_LDFLAGS = -pagezero_size 10000 -image_base 100000000
126endif
127endif
128
129tests_elua_elua_suite_LDADD = @CHECK_LIBS@ @USE_ELUA_LIBS@
130tests_elua_elua_suite_DEPENDENCIES = @USE_ELUA_INTERNAL_LIBS@
131
132endif
133
105endif 134endif