1 include $(top_srcdir)/common/check.mak
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
4 TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
6 REGISTRY_ENVIRONMENT = \
7 GST_REGISTRY_1_0=$(CHECK_REGISTRY)
9 AM_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):$(GSTPD_PLUGINS_DIR):$(top_builddir)/gst \
15 GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server"
18 # ths core dumps of some machines have PIDs appended
19 CLEANFILES = core.* test-registry.*
21 clean-local: clean-local-check
26 TESTS = $(check_PROGRAMS)
43 # these tests don't even pass
46 AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
47 $(GST_PLUGINS_BASE_CFLAGS) \
52 -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
53 -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
54 -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
55 AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
56 -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
57 -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
58 -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
59 LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
60 $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
61 -lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
62 $(GST_BASE_LIBS) $(GIO_LIBS) \
63 $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
65 SUPPRESSIONS = $(top_srcdir)/common/gst.supp