diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2015-04-29 10:50:11 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-05-07 09:53:12 +0200 |
commit | 92ff90ecca98f9e8e66a1f7a3ecf4e46f65913d4 (patch) | |
tree | 3da7d8cbc50d35dd472c3e8cc5fddb5b17602ac8 /src/Makefile_Evil.am | |
parent | 00a3de5c1f3268c9b7c98e5be39c3947b105ee6e (diff) | |
download | efl-92ff90ecca98f9e8e66a1f7a3ecf4e46f65913d4.tar.gz |
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.am | 27 |
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 \ bin/evil/evil_test_realpath.h \ bin/evil/evil_test_util.h + #suite_SOURCES += bin/evil/memcpy_glibc_i686.S # see EXTRA_DIST below! bin_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 bin_evil_test_evil_LDADD = @USE_EVIL_LIBS@ bin_evil_test_evil_DEPENDENCIES = @USE_EVIL_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@ +### Unit tests + +if EFL_ENABLE_TESTS + +check_PROGRAMS += tests/evil/evil_suite +TESTS += tests/evil/evil_suite + +tests_evil_evil_suite_SOURCES = \ +tests/evil/evil_suite.c \ +tests/evil/evil_suite.h \ +tests/evil/evil_test_dlfcn.c \ +tests/evil/evil_test_main.c + +tests_evil_evil_suite_CPPFLAGS = \ +-I$(top_builddir)/src/lib/efl \ +-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/evil\" \ +-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/evil\" \ +-DTESTS_BUILD_DIR=PACKAGE_BUILD_DIR \ +@CHECK_CFLAGS@ \ +@EVIL_CFLAGS@ +tests_evil_evil_suite_LDADD = @USE_EVIL_LIBS@ @DL_LIBS@ @CHECK_LIBS@ +tests_evil_evil_suite_DEPENDENCIES = @USE_EVIL_INTERNAL_LIBS@ @DL_INTERNAL_LIBS@ + endif + +endif + EXTRA_DIST += \ lib/evil/regex/regerror.ih \ lib/evil/regex/engine.ih \ |