Test that removing probes from within the probe functions works.
[platform/upstream/gstreamer.git] / check / Makefile.am
1 include $(top_srcdir)/common/check.mak
2
3 CHECK_REGISTRY = $(top_builddir)/check/test-registry.xml
4
5 GST_TOOLS_DIR = $(top_builddir)/tools
6
7 REGISTRY_ENVIRONMENT = \
8         GST_REGISTRY=$(CHECK_REGISTRY)
9
10 TESTS_ENVIRONMENT = \
11         $(REGISTRY_ENVIRONMENT)                                 \
12         GST_PLUGIN_SYSTEM_PATH=                                 \
13         GST_PLUGIN_PATH=$(top_builddir)/gst/elements:$(top_builddir)/gst/indexers
14
15 plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
16
17 # override to _not_ install the test plugins
18 install-pluginLTLIBRARIES:
19
20 # ths core dumps of some machines have PIDs appended
21 CLEANFILES = core.* test-registry.xml
22
23 SUPPRESSIONS = $(top_srcdir)/common/gst.supp
24
25 clean-local: clean-local-check
26
27 # checks to fix
28 #       gst/gstplugin
29
30 check_PROGRAMS =                                \
31         gst/gst                                 \
32         gst/gstbin                              \
33         gst/gstbuffer                           \
34         gst/gstbus                              \
35         gst/gstcaps                             \
36         gst/gstelement                          \
37         gst/gstevent                            \
38         gst/gstghostpad                         \
39         gst/gstiterator                         \
40         gst/gstmessage                          \
41         gst/gstminiobject                       \
42         gst/gstobject                           \
43         gst/gstpad                              \
44         gst/gstpipeline                         \
45         gst/gstsystemclock                      \
46         gst/gststructure                        \
47         gst/gsttag                              \
48         gst/gstutils                            \
49         gst/gstvalue                            \
50         elements/fakesrc                        \
51         elements/identity                       \
52         generic/states                          \
53         pipelines/simple_launch_lines           \
54         pipelines/cleanup                       \
55         states/sinks                            \
56         gst-libs/controller                     \
57         gst-libs/gdp
58
59 TESTS = $(check_PROGRAMS)
60
61 noinst_HEADERS = gst/capslist.h
62
63 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
64 LDADD = $(GST_OBJ_LIBS) \
65         $(top_builddir)/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
66         $(CHECK_LIBS)
67
68 gst_libs_gdp_SOURCES = \
69         gst-libs/gdp.c \
70         $(top_srcdir)/libs/gst/dataprotocol/dataprotocol.c
71 # remove GST_ENABLE_NEW when dataprotocol has been declared API-stable
72 gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
73
74 gst_libs_controller_LDADD = $(GST_OBJ_LIBS) \
75         $(top_builddir)/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
76         $(CHECK_LIBS) \
77         $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la 
78
79 # valgrind testing
80 # these just need valgrind fixing, period
81 VALGRIND_TO_FIX =                               \
82         elements/fakesrc                        \
83         gst/gstevent                            \
84         generic/states                          \
85         gst-libs/controller                     \
86         pipelines/simple_launch_lines
87
88 # these need fixing because the threads cause segfaults under valgrind
89 TESTS_THREADED =                                \
90         gst/gstminiobject                       \
91         gst/gstobject
92
93 VALGRIND_TESTS_DISABLE =                                        \
94         $(TESTS_THREADED)                                       \
95         $(VALGRIND_TO_FIX)