c54bd99097
Merge branch 'text-actor' * text-actor: (108 commits) Re-align ClutterText header file [text] Fix cursor sizing Comments and whitespace fixes to ClutterText [docs] Add newly added :single-line-mode accessors Update the ignore file [tests] Add text field interactive test [text] Add single-line-mode to ClutterText [text] Fix the deletion actions [text] Use cached length when possible [tests] Add unit for the ClutterText:password-char property [docs] Update the Text section [text] Coalesce text visibility and password character Allow localizations to change the text direction Clean up the update_pango_context() function Pass the PangoContext, not the MainContext Revert the logic of the PangoContext check Remove the binding pool entry from the list Remove BindingPool::list_actions() Add ClutterActor::create_pango_context() Rename the PangoContext creation functions ...
79 lines
1.9 KiB
Makefile
79 lines
1.9 KiB
Makefile
|
|
UNIT_TESTS = \
|
|
test-textures.c \
|
|
test-events.c \
|
|
test-offscreen.c \
|
|
test-scale.c \
|
|
test-actors.c \
|
|
test-behave.c \
|
|
test-project.c \
|
|
test-perspective.c \
|
|
test-rotate.c \
|
|
test-depth.c \
|
|
test-threads.c \
|
|
test-score.c \
|
|
test-script.c \
|
|
test-model.c \
|
|
test-grab.c \
|
|
test-effects.c \
|
|
test-fullscreen.c \
|
|
test-shader.c \
|
|
test-unproject.c \
|
|
test-viewport.c \
|
|
test-fbo.c \
|
|
test-opacity.c \
|
|
test-multistage.c \
|
|
test-cogl-primitives.c \
|
|
test-cogl-tex-tile.c \
|
|
test-cogl-tex-convert.c \
|
|
test-cogl-tex-foreign.c \
|
|
test-cogl-tex-getset.c \
|
|
test-cogl-offscreen.c \
|
|
test-cogl-tex-polygon.c \
|
|
test-stage-read-pixels.c \
|
|
test-random-text.c \
|
|
test-clip.c \
|
|
test-paint-wrapper.c \
|
|
test-texture-quality.c \
|
|
test-layout.c \
|
|
test-animation.c \
|
|
test-easing.c \
|
|
test-binding-pool.c \
|
|
test-text.c \
|
|
test-text-field.c
|
|
|
|
if X11_TESTS
|
|
UNIT_TESTS += test-pixmap.c
|
|
UNIT_TESTS += test-devices.c
|
|
endif
|
|
|
|
#FIXME - this is is a bit of a yukky way of ensuring the tests find our data:
|
|
test-script.json:
|
|
ln -sf $(top_srcdir)/tests/data/test-script.json
|
|
redhand.png:
|
|
ln -sf $(top_srcdir)/tests/data/redhand.png
|
|
|
|
# For convenience, this provides a way to easily run individual unit tests:
|
|
.PHONY: wrappers
|
|
wrappers: test-interactive$(EXEEXT)
|
|
for i in $(UNIT_TESTS); \
|
|
do \
|
|
ln -sf $(top_srcdir)/tests/interactive/wrapper.sh $${i%*.c}; \
|
|
done
|
|
|
|
# NB: BUILT_SOURCES here a misnomer. We aren't building source, just inserting
|
|
# a phony rule that will generate symlink scripts for running individual tests
|
|
BUILT_SOURCES = wrappers redhand.png test-script.json
|
|
|
|
INCLUDES = -I$(top_srcdir)/ -I$(top_srcdir)/clutter -I$(top_builddir)/clutter
|
|
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS)
|
|
AM_LDFLAGS = $(CLUTTER_LIBS)
|
|
|
|
noinst_PROGRAMS = test-interactive
|
|
|
|
test_interactive_SOURCES = \
|
|
test-main.c \
|
|
$(UNIT_TESTS)
|
|
test_interactive_LDFLAGS = -export-dynamic
|