summaryrefslogtreecommitdiff
path: root/src/Makefile_Evil.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2015-04-29 10:50:11 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:12 +0200
commit92ff90ecca98f9e8e66a1f7a3ecf4e46f65913d4 (patch)
tree3da7d8cbc50d35dd472c3e8cc5fddb5b17602ac8 /src/Makefile_Evil.am
parent00a3de5c1f3268c9b7c98e5be39c3947b105ee6e (diff)
evil: fix dladdr() implementation, add 2 unit tests for evil.
@fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Evil.am')
-rw-r--r--src/Makefile_Evil.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Makefile_Evil.am b/src/Makefile_Evil.am
index 3c6fd0ec13..4f9ae3f9cb 100644
--- a/src/Makefile_Evil.am
+++ b/src/Makefile_Evil.am
@@ -113,6 +113,7 @@ bin/evil/evil_test_print.h \
113bin/evil/evil_test_realpath.h \ 113bin/evil/evil_test_realpath.h \
114bin/evil/evil_test_util.h 114bin/evil/evil_test_util.h
115 115
116
116#suite_SOURCES += bin/evil/memcpy_glibc_i686.S # see EXTRA_DIST below! 117#suite_SOURCES += bin/evil/memcpy_glibc_i686.S # see EXTRA_DIST below!
117 118
118bin_evil_evil_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EVIL_CFLAGS@ 119bin_evil_evil_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EVIL_CFLAGS@
@@ -123,7 +124,33 @@ bin_evil_test_evil_SOURCES = bin/evil/test_evil.c
123bin_evil_test_evil_LDADD = @USE_EVIL_LIBS@ 124bin_evil_test_evil_LDADD = @USE_EVIL_LIBS@
124bin_evil_test_evil_DEPENDENCIES = @USE_EVIL_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@ 125bin_evil_test_evil_DEPENDENCIES = @USE_EVIL_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@
125 126
127### Unit tests
128
129if EFL_ENABLE_TESTS
130
131check_PROGRAMS += tests/evil/evil_suite
132TESTS += tests/evil/evil_suite
133
134tests_evil_evil_suite_SOURCES = \
135tests/evil/evil_suite.c \
136tests/evil/evil_suite.h \
137tests/evil/evil_test_dlfcn.c \
138tests/evil/evil_test_main.c
139
140tests_evil_evil_suite_CPPFLAGS = \
141-I$(top_builddir)/src/lib/efl \
142-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/evil\" \
143-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/evil\" \
144-DTESTS_BUILD_DIR=PACKAGE_BUILD_DIR \
145@CHECK_CFLAGS@ \
146@EVIL_CFLAGS@
147tests_evil_evil_suite_LDADD = @USE_EVIL_LIBS@ @DL_LIBS@ @CHECK_LIBS@
148tests_evil_evil_suite_DEPENDENCIES = @USE_EVIL_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@
149
126endif 150endif
151
152endif
153
127EXTRA_DIST += \ 154EXTRA_DIST += \
128lib/evil/regex/regerror.ih \ 155lib/evil/regex/regerror.ih \
129lib/evil/regex/engine.ih \ 156lib/evil/regex/engine.ih \