summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-09 11:11:40 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-09 11:11:40 +0000
commitc5a4b20e23dce8d5f2b855c12f0b8c7778b622f5 (patch)
tree24d7b13051926365ab5f2d5800232f52b8749f37 /legacy/eobj
parent653bf991aef512a17af7bfa9fd25ae17bd475285 (diff)
Eo: add libcheck test
SVN revision: 76354
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/configure.ac11
-rw-r--r--legacy/eobj/src/tests/eo_suite/Makefile.am4
2 files changed, 13 insertions, 2 deletions
diff --git a/legacy/eobj/configure.ac b/legacy/eobj/configure.ac
index 68db785985..78e4bc1504 100644
--- a/legacy/eobj/configure.ac
+++ b/legacy/eobj/configure.ac
@@ -127,6 +127,12 @@ PKG_CHECK_MODULES([EO], [${requirements_pc_eo}])
127 127
128PKG_CHECK_MODULES([ELM], [elementary >= 1.7.0], [have_elm="yes"], [have_elm="no"]) 128PKG_CHECK_MODULES([ELM], [elementary >= 1.7.0], [have_elm="yes"], [have_elm="no"])
129 129
130PKG_CHECK_MODULES([CHECK],
131 [check >= 0.9.5],
132 [_efl_enable_tests="yes"],
133 [_efl_enable_tests="no"])
134
135AM_CONDITIONAL([EO_BUILD_UNIT_TEST], [test "x${_efl_enable_tests}" = "xyes"])
130AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"]) 136AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"])
131 137
132 138
@@ -213,10 +219,11 @@ echo "Configuration Options Summary:"
213echo 219echo
214echo " Documentation........: ${build_doc}" 220echo " Documentation........: ${build_doc}"
215echo " Unit Tests...........:" 221echo " Unit Tests...........:"
222echo " unit testing.......: ${_efl_enable_tests}"
216echo " build..............: make check" 223echo " build..............: make check"
217echo " coverage...........: ${_efl_enable_coverage}" 224echo " coverage...........: ${_efl_enable_coverage}"
218echo " Examples.............: ${enable_build_examples}" 225echo " Examples.............: make examples"
219echo " Benchmark............: ${enable_benchmark}" 226echo " Benchmark............: make benchmark"
220echo 227echo
221echo "Compilation............: make (or gmake)" 228echo "Compilation............: make (or gmake)"
222echo " CPPFLAGS.............: $CPPFLAGS" 229echo " CPPFLAGS.............: $CPPFLAGS"
diff --git a/legacy/eobj/src/tests/eo_suite/Makefile.am b/legacy/eobj/src/tests/eo_suite/Makefile.am
index 3d0a9722df..53256d4327 100644
--- a/legacy/eobj/src/tests/eo_suite/Makefile.am
+++ b/legacy/eobj/src/tests/eo_suite/Makefile.am
@@ -8,6 +8,8 @@ AM_CPPFLAGS = \
8@EO_CFLAGS@ \ 8@EO_CFLAGS@ \
9@CHECK_CFLAGS@ 9@CHECK_CFLAGS@
10 10
11if EO_BUILD_UNIT_TEST
12
11check_PROGRAMS = eo_suite 13check_PROGRAMS = eo_suite
12 14
13eo_suite_SOURCES = \ 15eo_suite_SOURCES = \
@@ -20,3 +22,5 @@ eo_test_general.c \
20eo_test_init.c 22eo_test_init.c
21 23
22eo_suite_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@ @CHECK_LIBS@ 24eo_suite_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@ @CHECK_LIBS@
25
26endif