summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Cxx.am
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-16 16:14:17 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 18:55:56 -0300
commitac8975a73f90c07dfa6f9587b72cfde1e6014bdb (patch)
treeab2e2f694489f49bd9d9a41f39245daf66d854f3 /src/Makefile_Eolian_Cxx.am
parent256e21d93988a2e341a44940b18062ea31bd7307 (diff)
eolian-cxx: Added tests.
Diffstat (limited to 'src/Makefile_Eolian_Cxx.am')
-rw-r--r--src/Makefile_Eolian_Cxx.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am
index e31be2bc74..af89d12244 100644
--- a/src/Makefile_Eolian_Cxx.am
+++ b/src/Makefile_Eolian_Cxx.am
@@ -49,5 +49,44 @@ bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
49 49
50include Makefile_Eolian_Cxx_Helper.am 50include Makefile_Eolian_Cxx_Helper.am
51 51
52
53### Unit tests
54
55if EFL_ENABLE_TESTS
56
57check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite
58TESTS += tests/eolian_cxx/eolian_cxx_suite
59
60tests_eolian_cxx_eolian_cxx_suite_SOURCES = \
61tests/eolian_cxx/eolian_cxx_suite.cc \
62tests/eolian_cxx/eolian_cxx_test_parse.cc \
63tests/eolian_cxx/eolian_cxx_test_generate.cc
64
65tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \
66-I$(top_builddir)/src/lib/efl \
67-I$(top_srcdir)/src/bin/eolian_cxx \
68-I$(top_srcdir)/src/lib/eolian_cxx \
69-DTESTS_WD=\"`pwd`\" \
70-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_cxx\" \
71-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_cxx\" \
72-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_cxx\" \
73-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_cxx\" \
74@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ \
75@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@
76
77tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
78tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
79tests_eolian_cxx_eolian_cxx_suite_LDADD = \
80@CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_EOLIAN_LIBS@
81tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
82
52endif 83endif
53 84
85EXTRA_DIST += \
86tests/eolian_cxx/data/base.eo \
87tests/eolian_cxx/data/class_simple.eo \
88tests/eolian_cxx/data/scope.eo \
89tests/eolian_cxx/data/ctor_dtor.eo \
90tests/eolian_cxx/data/complex_type.eo
91
92endif