aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eio.am
diff options
context:
space:
mode:
authorplamot <pierre.lamot@openwide.fr>2015-02-23 14:44:48 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-12 07:43:58 +0100
commit19200a878ad53a37b6d6533037553fe9e6945473 (patch)
tree68150dde15eab2e2a26a5bd36d42f73849daec04 /src/Makefile_Eio.am
parenteina: win32 release lock in case of error (diff)
downloadefl-19200a878ad53a37b6d6533037553fe9e6945473.tar.gz
eio: add unit tests for eio file and directory monitoring.
this patch adds units test to check the behavior of eio file and directory monitoring module Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Eio.am')
-rw-r--r--src/Makefile_Eio.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Makefile_Eio.am b/src/Makefile_Eio.am
index ff0f442be6..d3144391a0 100644
--- a/src/Makefile_Eio.am
+++ b/src/Makefile_Eio.am
@@ -30,3 +30,29 @@ lib_eio_libeio_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EIO_CFLAGS@
lib_eio_libeio_la_LIBADD = @EIO_LIBS@
lib_eio_libeio_la_DEPENDENCIES = @EIO_INTERNAL_LIBS@
lib_eio_libeio_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+
+if EFL_ENABLE_TESTS
+
+check_PROGRAMS += tests/eio/eio_suite
+TESTS += tests/eio/eio_suite
+
+tests_eio_eio_suite_SOURCES = \
+tests/eio/eio_suite.c \
+tests/eio/eio_test_monitor.c
+
+tests_eio_eio_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eio\" \
+-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eio\" \
+@CHECK_CFLAGS@ \
+@ECORE_FILE_CFLAGS@ \
+@EIO_CFLAGS@
+
+tests_eio_eio_suite_LDADD = \
+@CHECK_LIBS@ \
+@USE_ECORE_FILE_LIBS@ \
+@USE_EIO_LIBS@
+
+tests_eio_eio_suite_DEPENDENCIES = \
+@USE_EIO_INTERNAL_LIBS@
+
+endif