Initial release including wifi display based on gst-rtsp-server-1.4.1
[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):$(GSTPD_PLUGINS_DIR)   \
15         GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad"
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/stream \
35         gst/addresspool \
36         gst/threadpool \
37         gst/permissions \
38         gst/token \
39         gst/sessionmedia \
40         gst/sessionpool
41
42 # these tests don't even pass
43 noinst_PROGRAMS =
44
45 AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
46         $(GST_PLUGINS_BASE_CFLAGS) \
47         $(GST_BASE_CFLAGS) \
48         $(GIO_CFLAGS) \
49         $(GST_CFLAGS) \
50         $(GST_CHECK_CFLAGS) \
51         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
52         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
53 AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
54         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
55         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
56 LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
57         $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
58         -lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
59         $(GST_BASE_LIBS) $(GIO_LIBS) \
60         $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
61
62 SUPPRESSIONS = $(top_srcdir)/common/gst.supp