aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/src/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/edje/src/tests/Makefile.am27
-rw-r--r--libraries/edje/src/tests/Makefile.in597
-rw-r--r--libraries/edje/src/tests/edje_suite.c101
-rw-r--r--libraries/edje/src/tests/edje_suite.h9
-rw-r--r--libraries/edje/src/tests/edje_test_edje.c28
5 files changed, 762 insertions, 0 deletions
diff --git a/libraries/edje/src/tests/Makefile.am b/libraries/edje/src/tests/Makefile.am
new file mode 100644
index 0000000..4981ad3
--- /dev/null
+++ b/libraries/edje/src/tests/Makefile.am
@@ -0,0 +1,27 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_srcdir)/src/lib \
5@EDJE_CFLAGS@ \
6@CHECK_CFLAGS@
7
8if EFL_ENABLE_TESTS
9
10noinst_PROGRAMS = edje_suite
11
12check_PROGRAMS = edje_suite
13
14edje_suite_SOURCES = \
15edje_suite.c \
16edje_test_edje.c \
17edje_suite.h
18
19edje_suite_LDADD = \
20@EDJE_LIBS@ \
21@CHECK_LIBS@ \
22$(top_builddir)/src/lib/libedje.la
23
24endif
25
26clean-local:
27 rm -rf *.gcno *.gcda
diff --git a/libraries/edje/src/tests/Makefile.in b/libraries/edje/src/tests/Makefile.in
new file mode 100644
index 0000000..f610548
--- /dev/null
+++ b/libraries/edje/src/tests/Makefile.in
@@ -0,0 +1,597 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37@EFL_ENABLE_TESTS_TRUE@noinst_PROGRAMS = edje_suite$(EXEEXT)
38@EFL_ENABLE_TESTS_TRUE@check_PROGRAMS = edje_suite$(EXEEXT)
39subdir = src/tests
40DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
43 $(top_srcdir)/m4/efl_binary.m4 \
44 $(top_srcdir)/m4/efl_coverage.m4 \
45 $(top_srcdir)/m4/efl_doxygen.m4 \
46 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
47 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
48 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
49 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
50am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 $(ACLOCAL_M4)
52mkinstalldirs = $(install_sh) -d
53CONFIG_HEADER = $(top_builddir)/config.h
54CONFIG_CLEAN_FILES =
55CONFIG_CLEAN_VPATH_FILES =
56PROGRAMS = $(noinst_PROGRAMS)
57am__edje_suite_SOURCES_DIST = edje_suite.c edje_test_edje.c \
58 edje_suite.h
59@EFL_ENABLE_TESTS_TRUE@am_edje_suite_OBJECTS = edje_suite.$(OBJEXT) \
60@EFL_ENABLE_TESTS_TRUE@ edje_test_edje.$(OBJEXT)
61edje_suite_OBJECTS = $(am_edje_suite_OBJECTS)
62@EFL_ENABLE_TESTS_TRUE@edje_suite_DEPENDENCIES = \
63@EFL_ENABLE_TESTS_TRUE@ $(top_builddir)/src/lib/libedje.la
64AM_V_lt = $(am__v_lt_$(V))
65am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
66am__v_lt_0 = --silent
67DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
68depcomp = $(SHELL) $(top_srcdir)/depcomp
69am__depfiles_maybe = depfiles
70am__mv = mv -f
71COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
72 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
73LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
74 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
75 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
76 $(AM_CFLAGS) $(CFLAGS)
77AM_V_CC = $(am__v_CC_$(V))
78am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
79am__v_CC_0 = @echo " CC " $@;
80AM_V_at = $(am__v_at_$(V))
81am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
82am__v_at_0 = @
83CCLD = $(CC)
84LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
85 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
86 $(AM_LDFLAGS) $(LDFLAGS) -o $@
87AM_V_CCLD = $(am__v_CCLD_$(V))
88am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
89am__v_CCLD_0 = @echo " CCLD " $@;
90AM_V_GEN = $(am__v_GEN_$(V))
91am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
92am__v_GEN_0 = @echo " GEN " $@;
93SOURCES = $(edje_suite_SOURCES)
94DIST_SOURCES = $(am__edje_suite_SOURCES_DIST)
95ETAGS = etags
96CTAGS = ctags
97DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
98ACLOCAL = @ACLOCAL@
99ALLOCA = @ALLOCA@
100ALSA_CFLAGS = @ALSA_CFLAGS@
101ALSA_LIBS = @ALSA_LIBS@
102AMTAR = @AMTAR@
103AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
104AR = @AR@
105AS = @AS@
106AUTOCONF = @AUTOCONF@
107AUTOHEADER = @AUTOHEADER@
108AUTOMAKE = @AUTOMAKE@
109AWK = @AWK@
110CC = @CC@
111CCDEPMODE = @CCDEPMODE@
112CFLAGS = @CFLAGS@
113CHECK_CFLAGS = @CHECK_CFLAGS@
114CHECK_LIBS = @CHECK_LIBS@
115CPP = @CPP@
116CPPFLAGS = @CPPFLAGS@
117CYGPATH_W = @CYGPATH_W@
118DEFS = @DEFS@
119DEPDIR = @DEPDIR@
120DLLTOOL = @DLLTOOL@
121DSYMUTIL = @DSYMUTIL@
122DUMPBIN = @DUMPBIN@
123ECHO_C = @ECHO_C@
124ECHO_N = @ECHO_N@
125ECHO_T = @ECHO_T@
126ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@
127ECORE_IMF_LIBS = @ECORE_IMF_LIBS@
128EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@
129EDJE_CC_LIBS = @EDJE_CC_LIBS@
130EDJE_CC_PRG = @EDJE_CC_PRG@
131EDJE_CFLAGS = @EDJE_CFLAGS@
132EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@
133EDJE_DECC_LIBS = @EDJE_DECC_LIBS@
134EDJE_DECC_PRG = @EDJE_DECC_PRG@
135EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@
136EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@
137EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@
138EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@
139EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@
140EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@
141EDJE_LIBS = @EDJE_LIBS@
142EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@
143EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@
144EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@
145EDJE_RECC_PRG = @EDJE_RECC_PRG@
146EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@
147EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@
148EFL_EDJE_BUILD = @EFL_EDJE_BUILD@
149EGREP = @EGREP@
150EVIL_CFLAGS = @EVIL_CFLAGS@
151EVIL_LIBS = @EVIL_LIBS@
152EXEEXT = @EXEEXT@
153FGREP = @FGREP@
154FLAC_CFLAGS = @FLAC_CFLAGS@
155FLAC_LIBS = @FLAC_LIBS@
156GREP = @GREP@
157INSTALL = @INSTALL@
158INSTALL_DATA = @INSTALL_DATA@
159INSTALL_PROGRAM = @INSTALL_PROGRAM@
160INSTALL_SCRIPT = @INSTALL_SCRIPT@
161INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
162LD = @LD@
163LDFLAGS = @LDFLAGS@
164LIBOBJS = @LIBOBJS@
165LIBS = @LIBS@
166LIBTOOL = @LIBTOOL@
167LIPO = @LIPO@
168LN_S = @LN_S@
169LTLIBOBJS = @LTLIBOBJS@
170LUA_CFLAGS = @LUA_CFLAGS@
171LUA_LIBS = @LUA_LIBS@
172MAKEINFO = @MAKEINFO@
173MINIMAL_CFLAGS = @MINIMAL_CFLAGS@
174MINIMAL_LIBS = @MINIMAL_LIBS@
175MKDIR_P = @MKDIR_P@
176MODULE_ARCH = @MODULE_ARCH@
177NM = @NM@
178NMEDIT = @NMEDIT@
179OBJDUMP = @OBJDUMP@
180OBJEXT = @OBJEXT@
181OTOOL = @OTOOL@
182OTOOL64 = @OTOOL64@
183PACKAGE = @PACKAGE@
184PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
185PACKAGE_NAME = @PACKAGE_NAME@
186PACKAGE_STRING = @PACKAGE_STRING@
187PACKAGE_TARNAME = @PACKAGE_TARNAME@
188PACKAGE_URL = @PACKAGE_URL@
189PACKAGE_VERSION = @PACKAGE_VERSION@
190PATH_SEPARATOR = @PATH_SEPARATOR@
191PKG_CONFIG = @PKG_CONFIG@
192PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
193PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
194PYTHON = @PYTHON@
195PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
196PYTHON_PLATFORM = @PYTHON_PLATFORM@
197PYTHON_PREFIX = @PYTHON_PREFIX@
198PYTHON_VERSION = @PYTHON_VERSION@
199RANLIB = @RANLIB@
200REMIX_CFLAGS = @REMIX_CFLAGS@
201REMIX_LIBS = @REMIX_LIBS@
202REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@
203SED = @SED@
204SET_MAKE = @SET_MAKE@
205SHELL = @SHELL@
206SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
207SNDFILE_LIBS = @SNDFILE_LIBS@
208STRIP = @STRIP@
209VERSION = @VERSION@
210VMAJ = @VMAJ@
211VORBISENC_CFLAGS = @VORBISENC_CFLAGS@
212VORBISENC_LIBS = @VORBISENC_LIBS@
213abs_builddir = @abs_builddir@
214abs_srcdir = @abs_srcdir@
215abs_top_builddir = @abs_top_builddir@
216abs_top_srcdir = @abs_top_srcdir@
217ac_ct_CC = @ac_ct_CC@
218ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
219am__include = @am__include@
220am__leading_dot = @am__leading_dot@
221am__quote = @am__quote@
222am__tar = @am__tar@
223am__untar = @am__untar@
224bindir = @bindir@
225build = @build@
226build_alias = @build_alias@
227build_cpu = @build_cpu@
228build_os = @build_os@
229build_vendor = @build_vendor@
230builddir = @builddir@
231datadir = @datadir@
232datarootdir = @datarootdir@
233docdir = @docdir@
234dvidir = @dvidir@
235edje_cc = @edje_cc@
236efl_doxygen = @efl_doxygen@
237efl_have_doxygen = @efl_have_doxygen@
238exec_prefix = @exec_prefix@
239have_lcov = @have_lcov@
240host = @host@
241host_alias = @host_alias@
242host_cpu = @host_cpu@
243host_os = @host_os@
244host_vendor = @host_vendor@
245htmldir = @htmldir@
246includedir = @includedir@
247infodir = @infodir@
248install_sh = @install_sh@
249libdir = @libdir@
250libexecdir = @libexecdir@
251localedir = @localedir@
252localstatedir = @localstatedir@
253lt_ECHO = @lt_ECHO@
254lt_enable_auto_import = @lt_enable_auto_import@
255lua_libs = @lua_libs@
256mandir = @mandir@
257mkdir_p = @mkdir_p@
258oldincludedir = @oldincludedir@
259pdfdir = @pdfdir@
260pkgconfig_requires_private = @pkgconfig_requires_private@
261pkgpyexecdir = @pkgpyexecdir@
262pkgpythondir = @pkgpythondir@
263prefix = @prefix@
264program_transform_name = @program_transform_name@
265psdir = @psdir@
266pyexecdir = @pyexecdir@
267pythondir = @pythondir@
268release_info = @release_info@
269requirement_edje = @requirement_edje@
270sbindir = @sbindir@
271sharedstatedir = @sharedstatedir@
272srcdir = @srcdir@
273sysconfdir = @sysconfdir@
274target_alias = @target_alias@
275top_build_prefix = @top_build_prefix@
276top_builddir = @top_builddir@
277top_srcdir = @top_srcdir@
278version_info = @version_info@
279vimdir = @vimdir@
280MAINTAINERCLEANFILES = Makefile.in
281AM_CPPFLAGS = \
282-I$(top_srcdir)/src/lib \
283@EDJE_CFLAGS@ \
284@CHECK_CFLAGS@
285
286@EFL_ENABLE_TESTS_TRUE@edje_suite_SOURCES = \
287@EFL_ENABLE_TESTS_TRUE@edje_suite.c \
288@EFL_ENABLE_TESTS_TRUE@edje_test_edje.c \
289@EFL_ENABLE_TESTS_TRUE@edje_suite.h
290
291@EFL_ENABLE_TESTS_TRUE@edje_suite_LDADD = \
292@EFL_ENABLE_TESTS_TRUE@@EDJE_LIBS@ \
293@EFL_ENABLE_TESTS_TRUE@@CHECK_LIBS@ \
294@EFL_ENABLE_TESTS_TRUE@$(top_builddir)/src/lib/libedje.la
295
296all: all-am
297
298.SUFFIXES:
299.SUFFIXES: .c .lo .o .obj
300$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
301 @for dep in $?; do \
302 case '$(am__configure_deps)' in \
303 *$$dep*) \
304 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
305 && { if test -f $@; then exit 0; else break; fi; }; \
306 exit 1;; \
307 esac; \
308 done; \
309 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/tests/Makefile'; \
310 $(am__cd) $(top_srcdir) && \
311 $(AUTOMAKE) --gnu src/tests/Makefile
312.PRECIOUS: Makefile
313Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
314 @case '$?' in \
315 *config.status*) \
316 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
317 *) \
318 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
319 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
320 esac;
321
322$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
323 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324
325$(top_srcdir)/configure: $(am__configure_deps)
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
327$(ACLOCAL_M4): $(am__aclocal_m4_deps)
328 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329$(am__aclocal_m4_deps):
330
331clean-checkPROGRAMS:
332 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
333 echo " rm -f" $$list; \
334 rm -f $$list || exit $$?; \
335 test -n "$(EXEEXT)" || exit 0; \
336 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
337 echo " rm -f" $$list; \
338 rm -f $$list
339
340clean-noinstPROGRAMS:
341 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
342 echo " rm -f" $$list; \
343 rm -f $$list || exit $$?; \
344 test -n "$(EXEEXT)" || exit 0; \
345 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
346 echo " rm -f" $$list; \
347 rm -f $$list
348edje_suite$(EXEEXT): $(edje_suite_OBJECTS) $(edje_suite_DEPENDENCIES)
349 @rm -f edje_suite$(EXEEXT)
350 $(AM_V_CCLD)$(LINK) $(edje_suite_OBJECTS) $(edje_suite_LDADD) $(LIBS)
351
352mostlyclean-compile:
353 -rm -f *.$(OBJEXT)
354
355distclean-compile:
356 -rm -f *.tab.c
357
358@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edje_suite.Po@am__quote@
359@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edje_test_edje.Po@am__quote@
360
361.c.o:
362@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
363@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
364@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
365@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
366@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
367@am__fastdepCC_FALSE@ $(COMPILE) -c $<
368
369.c.obj:
370@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
371@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
372@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
373@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
374@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
375@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
376
377.c.lo:
378@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
379@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
380@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
381@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
382@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
383@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
384
385mostlyclean-libtool:
386 -rm -f *.lo
387
388clean-libtool:
389 -rm -rf .libs _libs
390
391ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
392 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
393 unique=`for i in $$list; do \
394 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
395 done | \
396 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
397 END { if (nonempty) { for (i in files) print i; }; }'`; \
398 mkid -fID $$unique
399tags: TAGS
400
401TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
402 $(TAGS_FILES) $(LISP)
403 set x; \
404 here=`pwd`; \
405 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
406 unique=`for i in $$list; do \
407 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
408 done | \
409 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
410 END { if (nonempty) { for (i in files) print i; }; }'`; \
411 shift; \
412 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
413 test -n "$$unique" || unique=$$empty_fix; \
414 if test $$# -gt 0; then \
415 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
416 "$$@" $$unique; \
417 else \
418 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
419 $$unique; \
420 fi; \
421 fi
422ctags: CTAGS
423CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
424 $(TAGS_FILES) $(LISP)
425 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
426 unique=`for i in $$list; do \
427 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
428 done | \
429 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
430 END { if (nonempty) { for (i in files) print i; }; }'`; \
431 test -z "$(CTAGS_ARGS)$$unique" \
432 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
433 $$unique
434
435GTAGS:
436 here=`$(am__cd) $(top_builddir) && pwd` \
437 && $(am__cd) $(top_srcdir) \
438 && gtags -i $(GTAGS_ARGS) "$$here"
439
440distclean-tags:
441 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
442
443distdir: $(DISTFILES)
444 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
445 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
446 list='$(DISTFILES)'; \
447 dist_files=`for file in $$list; do echo $$file; done | \
448 sed -e "s|^$$srcdirstrip/||;t" \
449 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
450 case $$dist_files in \
451 */*) $(MKDIR_P) `echo "$$dist_files" | \
452 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
453 sort -u` ;; \
454 esac; \
455 for file in $$dist_files; do \
456 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
457 if test -d $$d/$$file; then \
458 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
459 if test -d "$(distdir)/$$file"; then \
460 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
461 fi; \
462 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
463 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
464 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
465 fi; \
466 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
467 else \
468 test -f "$(distdir)/$$file" \
469 || cp -p $$d/$$file "$(distdir)/$$file" \
470 || exit 1; \
471 fi; \
472 done
473check-am: all-am
474 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
475check: check-am
476all-am: Makefile $(PROGRAMS)
477installdirs:
478install: install-am
479install-exec: install-exec-am
480install-data: install-data-am
481uninstall: uninstall-am
482
483install-am: all-am
484 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485
486installcheck: installcheck-am
487install-strip:
488 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
489 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
490 `test -z '$(STRIP)' || \
491 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
492mostlyclean-generic:
493
494clean-generic:
495
496distclean-generic:
497 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
498 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
499
500maintainer-clean-generic:
501 @echo "This command is intended for maintainers to use"
502 @echo "it deletes files that may require special tools to rebuild."
503 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
504clean: clean-am
505
506clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
507 clean-noinstPROGRAMS mostlyclean-am
508
509distclean: distclean-am
510 -rm -rf ./$(DEPDIR)
511 -rm -f Makefile
512distclean-am: clean-am distclean-compile distclean-generic \
513 distclean-tags
514
515dvi: dvi-am
516
517dvi-am:
518
519html: html-am
520
521html-am:
522
523info: info-am
524
525info-am:
526
527install-data-am:
528
529install-dvi: install-dvi-am
530
531install-dvi-am:
532
533install-exec-am:
534
535install-html: install-html-am
536
537install-html-am:
538
539install-info: install-info-am
540
541install-info-am:
542
543install-man:
544
545install-pdf: install-pdf-am
546
547install-pdf-am:
548
549install-ps: install-ps-am
550
551install-ps-am:
552
553installcheck-am:
554
555maintainer-clean: maintainer-clean-am
556 -rm -rf ./$(DEPDIR)
557 -rm -f Makefile
558maintainer-clean-am: distclean-am maintainer-clean-generic
559
560mostlyclean: mostlyclean-am
561
562mostlyclean-am: mostlyclean-compile mostlyclean-generic \
563 mostlyclean-libtool
564
565pdf: pdf-am
566
567pdf-am:
568
569ps: ps-am
570
571ps-am:
572
573uninstall-am:
574
575.MAKE: check-am install-am install-strip
576
577.PHONY: CTAGS GTAGS all all-am check check-am clean \
578 clean-checkPROGRAMS clean-generic clean-libtool clean-local \
579 clean-noinstPROGRAMS ctags distclean distclean-compile \
580 distclean-generic distclean-libtool distclean-tags distdir dvi \
581 dvi-am html html-am info info-am install install-am \
582 install-data install-data-am install-dvi install-dvi-am \
583 install-exec install-exec-am install-html install-html-am \
584 install-info install-info-am install-man install-pdf \
585 install-pdf-am install-ps install-ps-am install-strip \
586 installcheck installcheck-am installdirs maintainer-clean \
587 maintainer-clean-generic mostlyclean mostlyclean-compile \
588 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
589 tags uninstall uninstall-am
590
591
592clean-local:
593 rm -rf *.gcno *.gcda
594
595# Tell versions [3.59,3.63) of GNU make to not export all variables.
596# Otherwise a system limit (for SysV at least) may be exceeded.
597.NOEXPORT:
diff --git a/libraries/edje/src/tests/edje_suite.c b/libraries/edje/src/tests/edje_suite.c
new file mode 100644
index 0000000..ad789b6
--- /dev/null
+++ b/libraries/edje/src/tests/edje_suite.c
@@ -0,0 +1,101 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#include <stdlib.h>
6#include <stdio.h>
7
8#include <Edje.h>
9
10#include "edje_suite.h"
11
12typedef struct _Edje_Test_Case Edje_Test_Case;
13
14struct _Edje_Test_Case
15{
16 const char *test_case;
17 void (*build)(TCase *tc);
18};
19
20static const Edje_Test_Case etc[] = {
21 { "Edje", edje_test_edje },
22 { NULL, NULL }
23};
24
25static void
26_list_tests(void)
27{
28 const Edje_Test_Case *itr;
29
30 itr = etc;
31 fputs("Available Test Cases:\n", stderr);
32 for (; itr->test_case; itr++)
33 fprintf(stderr, "\t%s\n", itr->test_case);
34}
35static Eina_Bool
36_use_test(int argc, const char **argv, const char *test_case)
37{
38 if (argc < 1)
39 return 1;
40
41 for (; argc > 0; argc--, argv++)
42 if (strcmp(test_case, *argv) == 0)
43 return 1;
44 return 0;
45}
46
47static Suite *
48edje_suite_build(int argc, const char **argv)
49{
50 TCase *tc;
51 Suite *s;
52 int i;
53
54 s = suite_create("Edje");
55
56 for (i = 0; etc[i].test_case; ++i)
57 {
58 if (!_use_test(argc, argv, etc[i].test_case)) continue;
59 tc = tcase_create(etc[i].test_case);
60
61 etc[i].build(tc);
62
63 suite_add_tcase(s, tc);
64 tcase_set_timeout(tc, 0);
65 }
66
67 return s;
68}
69
70int
71main(int argc, char **argv)
72{
73 Suite *s;
74 SRunner *sr;
75 int i, failed_count;
76
77 for (i = 1; i < argc; i++)
78 if ((strcmp(argv[i], "-h") == 0) ||
79 (strcmp(argv[i], "--help") == 0))
80 {
81 fprintf(stderr, "Usage:\n\t%s [test_case1 .. [test_caseN]]\n",
82 argv[0]);
83 _list_tests();
84 return 0;
85 }
86 else if ((strcmp(argv[i], "-l") == 0) ||
87 (strcmp(argv[i], "--list") == 0))
88 {
89 _list_tests();
90 return 0;
91 }
92
93 s = edje_suite_build(argc - 1, (const char **)argv + 1);
94 sr = srunner_create(s);
95
96 srunner_run_all(sr, CK_ENV);
97 failed_count = srunner_ntests_failed(sr);
98 srunner_free(sr);
99
100 return (failed_count == 0) ? 0 : 255;
101}
diff --git a/libraries/edje/src/tests/edje_suite.h b/libraries/edje/src/tests/edje_suite.h
new file mode 100644
index 0000000..35ab20d
--- /dev/null
+++ b/libraries/edje/src/tests/edje_suite.h
@@ -0,0 +1,9 @@
1#ifndef _EDJE_SUITE_H
2#define _EDJE_SUITE_H
3
4#include <check.h>
5
6void edje_test_edje(TCase *tc);
7
8
9#endif /* _EDJE_SUITE_H */
diff --git a/libraries/edje/src/tests/edje_test_edje.c b/libraries/edje/src/tests/edje_test_edje.c
new file mode 100644
index 0000000..ad92c63
--- /dev/null
+++ b/libraries/edje/src/tests/edje_test_edje.c
@@ -0,0 +1,28 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#include <unistd.h>
6#include <stdio.h>
7
8#include <Eina.h>
9#include <Edje.h>
10
11#include "edje_suite.h"
12
13START_TEST(edje_test_edje_init)
14{
15 int ret;
16
17 ret = edje_init();
18 fail_if(ret != 1);
19
20 ret = edje_shutdown();
21 fail_if(ret != 0);
22}
23END_TEST
24
25void edje_test_edje(TCase *tc)
26{
27 tcase_add_test(tc, edje_test_edje_init);
28}