diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2014-07-18 17:25:06 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2014-07-18 18:59:44 -0300 |
commit | 9c6c7728c0c1bf18018a2da7b33d55f128c527b1 (patch) | |
tree | 9e1229f1e5349aeee6d99ad2da75e6a58c11a1c8 /src/Makefile_Eolian_Cxx.am | |
parent | 907544be7b0e3ac241130193518b6158822ceae0 (diff) | |
download | efl-9c6c7728c0c1bf18018a2da7b33d55f128c527b1.tar.gz |
eolian-cxx: Added callback test
Added test for callback generation and uses
Diffstat (limited to 'src/Makefile_Eolian_Cxx.am')
-rw-r--r-- | src/Makefile_Eolian_Cxx.am | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am index 6bfc6c1b8f..7de22d29c3 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@ bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ -include Makefile_Eolian_Cxx_Helper.am - ### Unit tests if EFL_ENABLE_TESTS +BUILT_SOURCES += \ + tests/eolian_cxx/callback.eo.c \ + tests/eolian_cxx/callback.eo.h + check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite TESTS += tests/eolian_cxx/eolian_cxx_suite tests_eolian_cxx_eolian_cxx_suite_SOURCES = \ tests/eolian_cxx/eolian_cxx_suite.cc \ tests/eolian_cxx/eolian_cxx_test_parse.cc \ +tests/eolian_cxx/callback.c \ +tests/eolian_cxx/eolian_cxx_test_callback.cc \ tests/eolian_cxx/eolian_cxx_test_generate.cc +tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_callback.$(OBJEXT): tests/eolian_cxx/callback.eo.hh + tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ -I$(top_builddir)/src/lib/efl \ -I$(top_srcdir)/src/bin/eolian_cxx \ --I$(top_srcdir)/src/lib/eolian_cxx \ +-I$(top_builddir)/src/tests/eolian_cxx \ -DTESTS_WD=\"`pwd`\" \ -DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_cxx\" \ -DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_cxx\" \ -DPACKAGE_DATA_DIR=\"$(datadir)/eolian_cxx\" \ -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_cxx\" \ @CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ \ -@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ +@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ \ +@EO_CXX_CFLAGS@ tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} tests_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@ endif +include Makefile_Eolian_Cxx_Helper.am + endif |