summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian.am
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-21 09:36:44 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-22 09:54:24 +0300
commitd95a114db7ef950fe2ded3ea9b36cad1a621e294 (patch)
tree3381cc5c555a620b3197bfc4400ea6d6106540b5 /src/Makefile_Eolian.am
parent81fbd0e2625775036b55765e996000b6a9115337 (diff)
Eolian: infras for tests + first test
Diffstat (limited to 'src/Makefile_Eolian.am')
-rw-r--r--src/Makefile_Eolian.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile_Eolian.am b/src/Makefile_Eolian.am
index 6807557..326727c 100644
--- a/src/Makefile_Eolian.am
+++ b/src/Makefile_Eolian.am
@@ -55,3 +55,31 @@ am__v_RAGEL_0 = @echo " RAGEL " $@;
55 55
56lib/eolian/eo_lexer.c: lib/eolian/eo_lexer.rl 56lib/eolian/eo_lexer.c: lib/eolian/eo_lexer.rl
57endif 57endif
58
59### Unit tests
60
61if EFL_ENABLE_TESTS
62check_PROGRAMS += \
63tests/eolian/eolian_suite
64
65tests_eolian_eolian_suite_SOURCES = \
66tests/eolian/eolian_suite.c \
67tests/eolian/eolian_suite.h
68
69tests_eolian_eolian_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
70-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian\" \
71-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/eolian\" \
72@CHECK_CFLAGS@ \
73@EOLIAN_CFLAGS@
74TESTS += tests/eolian/eolian_suite
75
76tests_eolian_eolian_suite_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@
77tests_eolian_eolian_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
78
79eoliandatafilesdir = $(datadir)/eolian/data
80eoliandatafiles_DATA = tests/eolian/data/class_simple.eo
81
82endif
83
84EXTRA_DIST += \
85tests/eolian/data/class_simple.eo