aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Con.am
diff options
context:
space:
mode:
authorSrivardhan Hebbar <sri.hebbar@samsung.com>2015-04-06 15:59:10 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-06 16:37:53 +0200
commit4b0e8795919d146b66f14b64d70dbb5a2796b8b9 (patch)
tree480abf25d22b0c2ddba73b2497e0487c2a6d3611 /src/Makefile_Ecore_Con.am
parentedje: add of textures to edje_cc (part 2). (diff)
downloadefl-4b0e8795919d146b66f14b64d70dbb5a2796b8b9.tar.gz
ecore_con: Split ecore_con test suite from ecore.
Summary: Have created ecore_con test suite. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric, Sergeant_Whitespace, stefan_schmidt Subscribers: stefan_schmidt, Sergeant_Whitespace, cedric Maniphest Tasks: https://phab.enlightenment.org/T2235 Differential Revision: https://phab.enlightenment.org/D2269
Diffstat (limited to 'src/Makefile_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index e482ca4a75..1b063d082c 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -69,6 +69,41 @@ lib_ecore_con_libecore_con_la_LIBADD = @ECORE_CON_LIBS@ @EVIL_LIBS@
lib_ecore_con_libecore_con_la_DEPENDENCIES = @ECORE_CON_INTERNAL_LIBS@
lib_ecore_con_libecore_con_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+### Unit tests
+
+if EFL_ENABLE_TESTS
+
+check_PROGRAMS += tests/ecore_con/ecore_con_suite
+TESTS += tests/ecore_con/ecore_con_suite
+
+tests_ecore_con_ecore_con_suite_SOURCES = \
+tests/ecore_con/ecore_con_suite.c \
+tests/ecore_con/ecore_con_test_ecore_con.c \
+tests/ecore_con/ecore_con_test_ecore_con_url.c \
+tests/ecore_con/ecore_con_suite.h
+
+tests_ecore_con_ecore_con_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore_con\" \
+-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore_con\" \
+@CHECK_CFLAGS@ \
+@ECORE_CFLAGS@ \
+@ECORE_CON_CFLAGS@
+
+tests_ecore_con_ecore_con_suite_LDADD = \
+@CHECK_LIBS@ \
+@USE_ECORE_LIBS@ \
+@USE_ECORE_CON_LIBS@
+
+tests_ecore_con_ecore_con_suite_DEPENDENCIES = \
+@USE_ECORE_INTERNAL_LIBS@ \
+@USE_ECORE_CON_INTERNAL_LIBS@
+
+EXTRA_DIST += \
+tests/ecore_con/server.key \
+tests/ecore_con/server.pem
+
+endif
+
if HAVE_ELUA
ecore_con_eolian_lua = $(ecore_con_eolian_files:%.eo=%.eo.lua)