aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eo.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric@efl.so>2013-02-18 14:16:06 +0100
committerCedric BAIL <cedric@efl.so>2013-02-18 14:38:33 +0100
commitceed029a84f695e93290addede0c8104bfbc8187 (patch)
treefb9a48938b2eee3f6a7a7e3629055b7d171e35b2 /src/Makefile_Eo.am
parenteina: Lets allocate space for the terminating \0 as well (diff)
downloadefl-ceed029a84f695e93290addede0c8104bfbc8187.tar.gz
Eo: do not add the test when not building them.
Test can only be build if they are enable. Moving them inside the if so we don't get annoying error when make check is run without tests being turned on.
Diffstat (limited to 'src/Makefile_Eo.am')
-rw-r--r--src/Makefile_Eo.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index 4e6b46a8af..873ffac406 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -18,6 +18,7 @@ lib_eo_libeo_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
### Unit tests
+if EFL_ENABLE_TESTS
check_PROGRAMS += \
tests/eo/test_access \
tests/eo/test_composite_objects \
@@ -25,10 +26,8 @@ tests/eo/test_constructors \
tests/eo/test_function_overrides \
tests/eo/test_interface \
tests/eo/test_mixin \
-tests/eo/test_signals
-
-if EFL_ENABLE_TESTS
-check_PROGRAMS += tests/eo/eo_suite
+tests/eo/test_signals \
+tests/eo/eo_suite
tests_eo_test_access_SOURCES = \
tests/eo/access/access_inherit.c \