summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 17:25:06 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 18:59:44 -0300
commit9c6c7728c0c1bf18018a2da7b33d55f128c527b1 (patch)
tree9e1229f1e5349aeee6d99ad2da75e6a58c11a1c8 /src/Makefile_Eolian_Cxx.am
parent907544be7b0e3ac241130193518b6158822ceae0 (diff)
eolian-cxx: Added callback test
Added test for callback generation and uses
Diffstat (limited to '')
-rw-r--r--src/Makefile_Eolian_Cxx.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am
index 6bfc6c1..7de22d2 100644
--- a/src/Makefile_Eolian_Cxx.am
+++ b/src/Makefile_Eolian_Cxx.am
@@ -49,32 +49,39 @@ bin_eolian_cxx_eolian_cxx_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@
49 49
50bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ 50bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
51 51
52include Makefile_Eolian_Cxx_Helper.am
53
54 52
55### Unit tests 53### Unit tests
56 54
57if EFL_ENABLE_TESTS 55if EFL_ENABLE_TESTS
58 56
57BUILT_SOURCES += \
58 tests/eolian_cxx/callback.eo.c \
59 tests/eolian_cxx/callback.eo.h
60
59check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite 61check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite
60TESTS += tests/eolian_cxx/eolian_cxx_suite 62TESTS += tests/eolian_cxx/eolian_cxx_suite
61 63
62tests_eolian_cxx_eolian_cxx_suite_SOURCES = \ 64tests_eolian_cxx_eolian_cxx_suite_SOURCES = \
63tests/eolian_cxx/eolian_cxx_suite.cc \ 65tests/eolian_cxx/eolian_cxx_suite.cc \
64tests/eolian_cxx/eolian_cxx_test_parse.cc \ 66tests/eolian_cxx/eolian_cxx_test_parse.cc \
67tests/eolian_cxx/callback.c \
68tests/eolian_cxx/eolian_cxx_test_callback.cc \
65tests/eolian_cxx/eolian_cxx_test_generate.cc 69tests/eolian_cxx/eolian_cxx_test_generate.cc
66 70
71tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_callback.$(OBJEXT): tests/eolian_cxx/callback.eo.hh
72
67tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ 73tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \
68-I$(top_builddir)/src/lib/efl \ 74-I$(top_builddir)/src/lib/efl \
69-I$(top_srcdir)/src/bin/eolian_cxx \ 75-I$(top_srcdir)/src/bin/eolian_cxx \
70-I$(top_srcdir)/src/lib/eolian_cxx \ 76-I$(top_builddir)/src/tests/eolian_cxx \
71-DTESTS_WD=\"`pwd`\" \ 77-DTESTS_WD=\"`pwd`\" \
72-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_cxx\" \ 78-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_cxx\" \
73-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_cxx\" \ 79-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_cxx\" \
74-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_cxx\" \ 80-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_cxx\" \
75-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_cxx\" \ 81-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_cxx\" \
76@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ \ 82@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ \
77@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ 83@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ \
84@EO_CXX_CFLAGS@
78 85
79tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} 86tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
80tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} 87tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
@@ -84,4 +91,6 @@ tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
84 91
85endif 92endif
86 93
94include Makefile_Eolian_Cxx_Helper.am
95
87endif 96endif