diff options
author | Savio Sena <savio@expertisesolutions.com.br> | 2014-07-16 16:14:17 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2014-07-18 18:55:56 -0300 |
commit | ac8975a73f90c07dfa6f9587b72cfde1e6014bdb (patch) | |
tree | ab2e2f694489f49bd9d9a41f39245daf66d854f3 /src/Makefile_Eolian_Cxx.am | |
parent | 256e21d93988a2e341a44940b18062ea31bd7307 (diff) |
eolian-cxx: Added tests.
Diffstat (limited to '')
-rw-r--r-- | src/Makefile_Eolian_Cxx.am | 39 |
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 | ||
50 | include Makefile_Eolian_Cxx_Helper.am | 50 | include Makefile_Eolian_Cxx_Helper.am |
51 | 51 | ||
52 | |||
53 | ### Unit tests | ||
54 | |||
55 | if EFL_ENABLE_TESTS | ||
56 | |||
57 | check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite | ||
58 | TESTS += tests/eolian_cxx/eolian_cxx_suite | ||
59 | |||
60 | tests_eolian_cxx_eolian_cxx_suite_SOURCES = \ | ||
61 | tests/eolian_cxx/eolian_cxx_suite.cc \ | ||
62 | tests/eolian_cxx/eolian_cxx_test_parse.cc \ | ||
63 | tests/eolian_cxx/eolian_cxx_test_generate.cc | ||
64 | |||
65 | tests_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 | |||
77 | tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} | ||
78 | tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} | ||
79 | tests_eolian_cxx_eolian_cxx_suite_LDADD = \ | ||
80 | @CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_EOLIAN_LIBS@ | ||
81 | tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ | ||
82 | |||
52 | endif | 83 | endif |
53 | 84 | ||
85 | EXTRA_DIST += \ | ||
86 | tests/eolian_cxx/data/base.eo \ | ||
87 | tests/eolian_cxx/data/class_simple.eo \ | ||
88 | tests/eolian_cxx/data/scope.eo \ | ||
89 | tests/eolian_cxx/data/ctor_dtor.eo \ | ||
90 | tests/eolian_cxx/data/complex_type.eo | ||
91 | |||
92 | endif | ||