1 include $(top_srcdir)/common/check.mak
3 CHECK_REGISTRY=$(top_builddir)/check/test-registry.xml
5 GST_TOOLS_DIR = $(top_builddir)/tools
8 GST_PLUGIN_PATH_ONLY=yes \
9 GST_PLUGIN_PATH=$(top_builddir)/gst \
10 GST_REGISTRY=$(CHECK_REGISTRY)
12 plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
14 # rebuild gst-register-@GST_MAJORMINOR@ if needed
15 $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@$(EXEEXT):
16 cd $(top_builddir)/tools && make
18 # override to _not_ install the test plugins
19 install-pluginLTLIBRARIES:
21 # ths core dumps of some machines have PIDs appended
22 CLEANFILES = core.* test-registry.xml
24 SUPPRESSIONS = $(top_srcdir)/common/gst.supp
26 clean-local: clean-local-check
29 $(TESTS_ENVIRONMENT) \
30 $(top_builddir)/tools/gst-register
32 # FIXME: it'd be nicer to run the versioned register, but in that case
33 # "make dist" complains about not finding gst-register-0.9.c
34 TESTS = $(top_builddir)/tools/gst-register \
54 pipelines/simple_launch_lines \
60 check_PROGRAMS = $(TESTS)
62 noinst_HEADERS = gst/capslist.h
64 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
65 LDADD = $(GST_OBJ_LIBS) \
66 $(top_builddir)/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
69 gst_libs_gdp_SOURCES = \
71 $(top_srcdir)/libs/gst/dataprotocol/dataprotocol.c
72 # remove GST_ENABLE_NEW when dataprotocol has been declared API-stable
73 gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
75 gst_libs_controller_LDADD = $(GST_OBJ_LIBS) \
76 $(top_builddir)/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
78 $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la
81 # these just need valgrind fixing, period
85 pipelines/simple_launch_lines
87 # these need fixing because the threads cause segfaults under valgrind
92 VALGRIND_TESTS_DISABLE = \
93 $(top_builddir)/tools/gst-register \