1
noinst_PROGRAMS = test-modules \
3
test-timeline-dup-frames \
4
test-timeline-interpolate \
6
test-timeline-smoothness \
13
check_PROGRAMS = test-modules
16
GCOV_CFLAGS = -fprofile-arcs -ftest-coverage
18
test_modules_SOURCES = \
19
$(top_srcdir)/src/bubble.c \
20
$(top_srcdir)/src/defaults.c \
21
$(top_srcdir)/src/dialog.c \
22
$(top_srcdir)/src/notification.c \
23
$(top_srcdir)/src/observer.c \
24
$(top_srcdir)/src/stack.c \
25
$(top_srcdir)/src/dbus.c \
26
$(top_srcdir)/src/dnd.c \
27
$(top_srcdir)/src/apport.c \
28
$(top_srcdir)/src/util.c \
29
$(top_srcdir)/src/stack-blur.c \
30
$(top_srcdir)/src/exponential-blur.c \
31
$(top_srcdir)/src/gaussian-blur.c \
32
$(top_srcdir)/src/raico-blur.c \
33
$(top_srcdir)/src/tile.c \
34
$(top_srcdir)/src/bubble-window.c \
35
$(top_srcdir)/src/bubble-window-accessible.c \
36
$(top_srcdir)/src/bubble-window-accessible-factory.c \
37
$(top_srcdir)/src/log.c \
38
$(top_srcdir)/src/timings.c \
55
test_modules_CFLAGS = \
60
-DWNCK_I_KNOW_THIS_IS_UNSTABLE \
64
-DSRCDIR=\""$(top_srcdir)"\" \
68
test_modules_LDADD = \
80
$(top_srcdir)/egg/egg-fixed.c \
81
$(top_srcdir)/egg/egg-units.c \
82
$(top_srcdir)/egg/egg-timeline.c \
83
$(top_srcdir)/egg/egg-timeout-pool.c \
84
$(top_srcdir)/egg/egg-alpha.c \
85
$(top_srcdir)/egg/egg-hack.c
88
--tool=memcheck --suppressions=$(srcdir)/tests.suppression \
89
--leak-check=yes --show-reachable=yes
91
OLD_ENVIRONMENT = $(ENV)
97
-I$(top_srcdir)/src -I$(top_srcdir)/egg -I$(top_srcdir)
99
LDADD = $(GLIB_LIBS) -lm
101
test_timeline_SOURCES = $(top_srcdir)/egg/test-timeline.c \
103
test_timeline_dup_frames_SOURCES = $(top_srcdir)/egg/test-timeline-dup-frames.c \
105
test_timeline_interpolate_SOURCES = $(top_srcdir)/egg/test-timeline-interpolate.c \
107
test_timeline_rewind_SOURCES = $(top_srcdir)/egg/test-timeline-rewind.c \
109
test_timeline_smoothness_SOURCES = $(top_srcdir)/egg/test-timeline-smoothness.c \
112
test_alpha_animation_SOURCES = test-alpha-animation.c \
116
$(top_srcdir)/src/stack-blur.c \
117
$(top_srcdir)/src/exponential-blur.c \
118
$(top_srcdir)/src/gaussian-blur.c \
119
$(top_srcdir)/src/raico-blur.c
121
test_raico_SOURCES = \
125
test_raico_CFLAGS = \
128
-I$(top_srcdir)/src \
138
$(top_srcdir)/src/util.c \
139
$(top_srcdir)/src/tile.c
141
test_tile_SOURCES = \
148
-I$(top_srcdir)/src \
157
GROW_BUBBLE_MODULES = \
159
$(top_srcdir)/src/tile.c
161
test_grow_bubble_SOURCES = \
165
test_grow_bubble_CFLAGS = \
168
-I$(top_srcdir)/src \
171
test_grow_bubble_LDADD = \
177
SCROLL_TEXT_MODULES = \
181
test_scroll_text_SOURCES = \
185
test_scroll_text_CFLAGS = \
188
-I$(top_srcdir)/src \
191
test_scroll_text_LDADD = \
198
$(MAKE) $(AM_MAKEFLAGS) check G_SLICE=always-malloc G_DEBUG=gc-friendly TESTS_ENVIRONMENT='$(OLD_ENVIRONMENT) $(top_builddir)/libtool --mode=execute valgrind $(VALGRIND_FLAGS)' 2>&1 | tee valgrind-log
200
gtester -o=test-modules.xml -k ./test-modules
203
gtester --verbose -p=/i18n -k ./test-modules
205
test-report-html: test
206
gtester-report test-modules.xml >test-modules.html
208
test-report-display: test-report-html
209
gnome-open test-modules.html