2012-05-01 17:30:10 +00:00
|
|
|
all_examples = \
|
2015-06-29 19:28:43 +00:00
|
|
|
actor-model \
|
2012-05-01 17:30:10 +00:00
|
|
|
basic-actor \
|
2012-06-02 13:01:11 +00:00
|
|
|
box-layout \
|
2012-05-01 17:30:10 +00:00
|
|
|
canvas \
|
|
|
|
constraints \
|
|
|
|
drag-action \
|
|
|
|
drop-action \
|
2012-05-02 17:37:36 +00:00
|
|
|
easing-modes \
|
2012-05-02 11:14:45 +00:00
|
|
|
flow-layout \
|
2012-06-03 10:18:37 +00:00
|
|
|
grid-layout \
|
2012-05-04 16:43:30 +00:00
|
|
|
layout-manager \
|
2012-08-25 14:23:23 +00:00
|
|
|
pan-action \
|
2012-05-03 12:53:29 +00:00
|
|
|
rounded-rectangle \
|
2012-05-16 15:12:20 +00:00
|
|
|
scroll-actor \
|
2012-05-01 17:30:10 +00:00
|
|
|
threads
|
|
|
|
|
|
|
|
if PIXBUF_TESTS
|
|
|
|
all_examples += \
|
|
|
|
bin-layout \
|
|
|
|
image-content
|
|
|
|
endif
|
|
|
|
|
2016-11-25 16:16:07 +00:00
|
|
|
LDADD = $(top_builddir)/clutter/libmutter-clutter-@LIBMUTTER_API_VERSION@.la $(CLUTTER_LIBS) $(GDK_PIXBUF_LIBS) $(LIBM)
|
2012-06-06 12:39:50 +00:00
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(MAINTAINER_CFLAGS)
|
2012-05-01 17:30:10 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
2013-05-15 14:18:13 +00:00
|
|
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_builddir)/clutter
|
2012-05-01 17:30:10 +00:00
|
|
|
|
|
|
|
noinst_PROGRAMS = $(all_examples)
|
|
|
|
|
Fully rework the conformance test suite
The current conformance test suite is suboptimal in many ways.
All tests are built into the same binary, which makes adding new tests,
builting tests, and running groups of tests much more awkward than it
needs to be. The first issue, especially, raises the bar of contribution
in a significant way, while the other two take their toll on the
maintainer. All of these changes were introduced back when we had both
Clutter and Cogl tests in tree, and because we were building the test
suite for every single change; since then, Cogl moved out of tree with
all its tests, and we build the conformance test suite only when running
the `check` make target.
This admittedly large-ish commit changes the way the conformance test
suite works, taking advantage of the changes in the GTest API and test
harness.
First of all, all tests are now built separately, using their own test
suite as defined by each separate file. All tests run under the TAP
harness provided by GTest and Automake, to gather a proper report using
the Test Anything Protocol without using the `gtester` harness and the
`gtester-report` script. We also use the Makefile rules provided by GLib
to vastly simplify the build environment for the conformance test suite.
On top of the changes for the build and harness, we also provide new API
for creating and running test suites for Clutter. The API is public,
because the test suite has to use it, but it's minimal and mostly
provides convenience wrappers around GTest that make writing test units
for Clutter easier.
This commit disables all tests in the conformance test suite, as well as
moving the data files outside of the tests/data directory; the next few
commits will re-establish the conformance test suite separately so we
can check that everything works in a reliable way.
2013-12-12 14:36:16 +00:00
|
|
|
EXTRA_DIST = redhand.png
|