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.
This commit is contained in:
Cedric BAIL 2013-02-18 14:16:06 +01:00
parent 7f63a74251
commit ceed029a84
1 changed files with 3 additions and 4 deletions

View File

@ -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 \