1installed_test_metadir = $(datadir)/installed-tests/muffin-clutter
2installed_testdir = $(libexecdir)/installed-tests/muffin-clutter
3include $(top_srcdir)/build/autotools/glib-tap.mk
4
5AM_CFLAGS = -g $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
6LDADD = $(top_builddir)/../cogl/cogl/libmuffin-cogl-@MUFFIN_PLUGIN_API_VERSION@.la $(top_builddir)/clutter/libmuffin-clutter-@MUFFIN_PLUGIN_API_VERSION@.la $(CLUTTER_LIBS) $(LIBM)
7AM_LDFLAGS = -export-dynamic
8AM_CPPFLAGS = \
9	-DG_LOG_DOMAIN=\"Clutter-Conform\"	\
10	-I$(top_srcdir)/../cogl                 \
11	-I$(top_builddir)/../cogl               \
12	-I$(top_builddir)/../cogl/cogl          \
13	-I$(top_srcdir) 			\
14	-I$(top_builddir)			\
15	-DCOGL_DISABLE_DEPRECATION_WARNINGS	\
16	$(CLUTTER_DEPRECATED_CFLAGS)		\
17	$(CLUTTER_DEBUG_CFLAGS)
18
19# Basic actor API
20actor_tests = \
21	actor-anchors \
22	actor-destroy \
23	actor-graph \
24	actor-invariants \
25	actor-iter \
26	actor-layout \
27	actor-meta \
28	actor-paint-opacity \
29	actor-pick \
30	actor-shader-effect \
31	actor-size \
32	$(NULL)
33
34# Disabled for offscreen-effect fix
35# actor-offscreen-redirect
36# actor-offscreen-limit-max-size
37
38# Actor classes
39classes_tests = \
40	text \
41	$(NULL)
42
43# General API
44general_tests = \
45	binding-pool \
46	color \
47	events-touch \
48	interval \
49	model \
50	script-parser \
51	units \
52	$(NULL)
53
54# Test for deprecated functionality
55deprecated_tests = \
56	animator \
57	behaviours \
58	group \
59	rectangle \
60	texture \
61	$(NULL)
62
63test_programs = $(actor_tests) $(general_tests) $(classes_tests) $(deprecated_tests)
64
65dist_test_data = $(script_ui_files)
66script_ui_files = $(addprefix scripts/,$(script_tests))
67script_tests = \
68	test-animator-1.json \
69	test-animator-2.json \
70	test-animator-3.json \
71	test-script-animation.json \
72	test-script-child.json \
73	test-script-implicit-alpha.json \
74	test-script-interval.json \
75	test-script-layout-property.json \
76	test-script-margin.json \
77	test-script-model.json \
78	test-script-named-object.json \
79	test-script-object-property.json \
80	test-script-single.json \
81	test-script-timeline-markers.json \
82	test-state-1.json
83
84TESTS_ENVIRONMENT += G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 CLUTTER_SCALE=1
85
86# simple rules for generating a Git ignore file for the conformance test suite
87$(srcdir)/.gitignore: Makefile
88	$(AM_V_GEN)( echo "/*.trs" ; \
89		     echo "/*.log" ; \
90		     echo "/*.test" ; \
91		     echo "/.gitignore" ; \
92		     for p in $(test_programs); do \
93			echo "/$$p" ; \
94		     done ) > $(@F)
95
96gitignore: $(srcdir)/.gitignore
97
98all-am: gitignore
99
100DISTCLEANFILES += .gitignore
101