2012-06-19 13:25:36 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
|
|
|
|
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
|
|
|
|
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
2013-01-16 12:16:32 +00:00
|
|
|
GST_REGISTRY_1_0=$(CHECK_REGISTRY)
|
2012-06-19 13:25:36 +00:00
|
|
|
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
|
|
CK_DEFAULT_TIMEOUT=120 \
|
|
|
|
GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \
|
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
2013-01-16 12:16:32 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0= \
|
|
|
|
GST_PLUGIN_PATH_1_0=$(GST_PLUGINS_DIR):$(GSTPB_PLUGINS_DIR):$(GSTPG_PLUGINS_DIR) \
|
2012-06-19 13:25:36 +00:00
|
|
|
GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good"
|
|
|
|
|
|
|
|
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
|
|
CLEANFILES = core.* test-registry.*
|
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
|
|
|
$(CHECK_REGISTRY):
|
|
|
|
$(TESTS_ENVIRONMENT)
|
|
|
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
2012-11-14 14:50:42 +00:00
|
|
|
gst/rtspserver \
|
2012-11-27 10:17:31 +00:00
|
|
|
gst/client \
|
2012-11-28 10:07:57 +00:00
|
|
|
gst/mountpoints \
|
2012-11-28 11:40:46 +00:00
|
|
|
gst/mediafactory \
|
2012-11-28 13:50:47 +00:00
|
|
|
gst/media \
|
2013-11-12 11:04:55 +00:00
|
|
|
gst/stream \
|
2013-10-09 13:19:12 +00:00
|
|
|
gst/addresspool \
|
2013-10-19 17:25:27 +00:00
|
|
|
gst/threadpool \
|
|
|
|
gst/permissions \
|
2013-11-27 14:04:04 +00:00
|
|
|
gst/token \
|
2014-03-16 18:45:26 +00:00
|
|
|
gst/sessionmedia \
|
|
|
|
gst/sessionpool
|
2012-06-19 13:25:36 +00:00
|
|
|
|
|
|
|
# these tests don't even pass
|
|
|
|
noinst_PROGRAMS =
|
|
|
|
|
2012-11-14 14:50:42 +00:00
|
|
|
AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GIO_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GST_CHECK_CFLAGS) \
|
2012-06-19 13:25:36 +00:00
|
|
|
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
|
|
|
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
|
|
|
|
AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
|
|
|
|
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
|
|
|
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
|
2012-11-14 14:50:42 +00:00
|
|
|
LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
|
2013-03-12 00:03:36 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
|
2013-03-11 10:35:14 +00:00
|
|
|
-lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
|
2013-03-12 00:03:36 +00:00
|
|
|
$(GST_BASE_LIBS) $(GIO_LIBS) \
|
2012-11-14 14:50:42 +00:00
|
|
|
$(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
|
|
|
|
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|