address-pool: Add unicast addresses
[platform/upstream/gstreamer.git] / tests / check / Makefile.am
1 include $(top_srcdir)/common/check.mak
2
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
4 TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
5
6 REGISTRY_ENVIRONMENT = \
7         GST_REGISTRY_1_0=$(CHECK_REGISTRY)
8
9 TESTS_ENVIRONMENT = \
10         CK_DEFAULT_TIMEOUT=120                                  \
11         GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)"    \
12         $(REGISTRY_ENVIRONMENT)                                 \
13         GST_PLUGIN_SYSTEM_PATH_1_0=                                     \
14         GST_PLUGIN_PATH_1_0=$(GST_PLUGINS_DIR):$(GSTPB_PLUGINS_DIR):$(GSTPG_PLUGINS_DIR)        \
15         GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good"
16
17
18 # ths core dumps of some machines have PIDs appended
19 CLEANFILES = core.* test-registry.*
20
21 clean-local: clean-local-check
22
23 $(CHECK_REGISTRY):
24         $(TESTS_ENVIRONMENT)
25
26 TESTS = $(check_PROGRAMS)
27
28 check_PROGRAMS = \
29         gst/rtspserver \
30         gst/client \
31         gst/mountpoints \
32         gst/mediafactory \
33         gst/media \
34         gst/addresspool
35
36 # these tests don't even pass
37 noinst_PROGRAMS =
38
39 AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
40         $(GST_PLUGINS_BASE_CFLAGS) \
41         $(GST_BASE_CFLAGS) \
42         $(GIO_CFLAGS) \
43         $(GST_CFLAGS) \
44         $(GST_CHECK_CFLAGS) \
45         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
46         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
47 AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
48         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
49         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
50 LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
51         $(GST_BASE_LIBS) -lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
52         $(GIO_LIBS) \
53         $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
54
55 SUPPRESSIONS = $(top_srcdir)/common/gst.supp