2014-10-17 13:36:03 -07:00
|
|
|
|
|
|
|
if EFL_HAVE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS = elm_code_suite
|
|
|
|
|
|
|
|
elm_code_suite_SOURCES = \
|
2014-10-26 15:47:27 -07:00
|
|
|
elm_code_file_test_load.c \
|
2014-11-04 13:05:29 -08:00
|
|
|
elm_code_file_test_memory.c \
|
2014-10-26 15:47:27 -07:00
|
|
|
elm_code_test_basic.c \
|
2014-11-16 15:52:41 -08:00
|
|
|
elm_code_test_parse.c \
|
2014-11-13 15:26:30 -08:00
|
|
|
elm_code_test_widget.c \
|
2014-10-17 13:36:03 -07:00
|
|
|
elm_code_suite.c
|
|
|
|
|
|
|
|
elm_code_suite_CPPFLAGS = -I$(top_builddir)/elm_code/lib/ \
|
2015-01-26 06:00:37 -08:00
|
|
|
-DEFL_BETA_API_SUPPORT \
|
|
|
|
-DEFL_EO_API_SUPPORT \
|
2015-02-06 15:45:50 -08:00
|
|
|
-I$(top_srcdir)/elm_code/lib \
|
2014-10-17 13:36:03 -07:00
|
|
|
-DPACKAGE_TESTS_DIR=\"$(top_srcdir)/elm_code/tests/\" \
|
|
|
|
-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)/elm_code/tests/\" \
|
2015-02-06 15:45:50 -08:00
|
|
|
-DTESTS_DIR=\"$(abspath $(srcdir))/\" \
|
2014-11-12 06:05:56 -08:00
|
|
|
-DEFL_BETA_API_SUPPORT \
|
2014-10-17 13:36:03 -07:00
|
|
|
@EFL_CFLAGS@ \
|
|
|
|
@CHECK_CFLAGS@
|
|
|
|
|
|
|
|
elm_code_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la
|
|
|
|
elm_code_suite_DEPENDENCIES = $(top_builddir)/elm_code/lib/libelm_code.la
|
|
|
|
|
2015-02-06 15:45:50 -08:00
|
|
|
testdir = $(PACKAGE_TESTS_DIR)
|
|
|
|
test_DATA = \
|
|
|
|
testfile.txt \
|
|
|
|
testfile-withblanks.txt \
|
|
|
|
testdiff.diff
|
2015-01-23 15:41:53 -08:00
|
|
|
|
|
|
|
EXTRA_DIST = elm_code_suite.h $(test_DATA)
|
2015-02-06 15:45:50 -08:00
|
|
|
|
|
|
|
endif
|