From ceed029a84f695e93290addede0c8104bfbc8187 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 18 Feb 2013 14:16:06 +0100 Subject: [PATCH] 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. --- src/Makefile_Eo.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am index 4e6b46a..873ffac 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 \ -- 2.7.4