1 include $(top_srcdir)/common/check.mak
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
5 REGISTRY_ENVIRONMENT = \
6 GST_REGISTRY=$(CHECK_REGISTRY)
9 CK_DEFAULT_TIMEOUT=120 \
10 STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \
11 $(REGISTRY_ENVIRONMENT) \
12 GST_PLUGIN_SYSTEM_PATH= \
13 GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR)
15 # ths core dumps of some machines have PIDs appended
16 CLEANFILES = core.* test-registry.xml
18 clean-local: clean-local-check
23 # elements to ignore for the state tests
24 STATE_IGNORE_ELEMENTS = cdio cdparanoiasrc libvisual_
26 TESTS = $(check_PROGRAMS)
29 check_alsa = elements/alsa
35 check_ogg = pipelines/oggmux
41 check_pango = elements/textoverlay
47 check_vorbis = elements/vorbisdec pipelines/vorbisenc pipelines/vorbisdec \
54 check_theora = pipelines/theoraenc
66 elements/audioconvert \
68 elements/audioresample \
69 elements/audiotestsrc \
71 elements/ffmpegcolorspace \
74 elements/multifdsink \
78 elements/videotestsrc \
80 generic/clock-selection \
82 gst/typefindfunctions \
89 pipelines/simple-launch-lines \
90 pipelines/streamheader
95 # ffmpegcolorspace takes too long, so disabled for now
97 elements/audioresample \
98 elements/ffmpegcolorspace \
101 # these tests don't even pass
104 AM_CFLAGS = $(GST_CFLAGS) $(GST_CHECK_CFLAGS)
105 LDADD = $(GST_LIBS) $(GST_CHECK_LIBS)
108 VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
110 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-base.supp
112 libs_audio_CFLAGS = \
113 $(GST_PLUGINS_BASE_CFLAGS) \
118 $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
119 $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
123 libs_cddabasesrc_CFLAGS = \
124 $(GST_PLUGINS_BASE_CFLAGS) \
128 libs_cddabasesrc_LDADD = \
129 $(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la \
130 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
134 libs_netbuffer_CFLAGS = \
135 $(GST_PLUGINS_BASE_CFLAGS) \
137 libs_netbuffer_LDADD = \
138 $(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer-@GST_MAJORMINOR@.la \
142 $(GST_PLUGINS_BASE_CFLAGS) \
145 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la $(LDADD)
147 libs_pbutils_CFLAGS = \
148 $(GST_PLUGINS_BASE_CFLAGS) \
150 libs_pbutils_LDADD = \
151 $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la $(LDADD)
153 elements_alsa_CFLAGS = \
154 $(GST_PLUGINS_BASE_CFLAGS) \
157 elements_alsa_LDADD = \
158 $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
161 elements_audioconvert_CFLAGS = \
162 $(GST_PLUGINS_BASE_CFLAGS) \
166 elements_audioconvert_LDADD = \
167 $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
168 $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
172 elements_audiorate_LDADD = $(LDADD)
173 elements_audiorate_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
175 elements_gdpdepay_LDADD = $(GST_GDP_LIBS) $(LDADD)
176 elements_gdppay_LDADD = $(GST_GDP_LIBS) $(LDADD)
178 elements_playbin_LDADD = $(GST_BASE_LIBS) $(LDADD)
179 elements_playbin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
181 elements_decodebin_LDADD = $(GST_BASE_LIBS) $(LDADD)
182 elements_decodebin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
184 elements_subparse_LDADD = $(LDADD)
185 elements_subparse_CFLAGS = $(CFLAGS) $(AM_CFLAGS)
187 elements_textoverlay_LDADD = $(GST_BASE_LIBS) $(LDADD)
188 elements_textoverlay_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
190 elements_volume_LDADD = \
194 elements_volume_CFLAGS = \
195 $(GST_PLUGINS_BASE_CFLAGS) \
199 elements_vorbistag_LDADD = \
203 elements_vorbistag_CFLAGS = \
204 $(GST_PLUGINS_BASE_CFLAGS) \
209 gst_typefindfunctions_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
210 gst_typefindfunctions_LDADD = $(GST_BASE_LIBS) $(LDADD)
212 libs_video_CFLAGS = \
213 $(GST_PLUGINS_BASE_CFLAGS) \
218 $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la \
222 # this seemingly useless CFLAGS line is here only to avoid
223 # vorbisdec.$(OBJEXT) by triggering creation of pipelines_vorbisdec.$(OBJEXT)
225 pipelines_vorbisdec_CFLAGS = $(AM_CFLAGS)
227 pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS)
228 pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS)
230 pipelines_simple_launch_lines_CFLAGS = \
234 pipelines_simple_launch_lines_LDADD = \
235 $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
236 $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
240 EXTRA_DIST = gst-plugins-base.supp