summaryrefslogtreecommitdiff
path: root/tests/check/Makefile.am
blob: 3216633420c91e20c84cce48f76b9fb63b561cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
include $(top_srcdir)/common/check.mak

CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml

REGISTRY_ENVIRONMENT = \
	GST_REGISTRY=$(CHECK_REGISTRY)

# Note: GST_PLUGINS_GOOD_DIR is only set in an uninstalled setup
TESTS_ENVIRONMENT = \
        CK_DEFAULT_TIMEOUT=120                                   \
	$(REGISTRY_ENVIRONMENT)					\
	GST_PLUGIN_SYSTEM_PATH=					\
	GST_PLUGIN_PATH=$(top_builddir)/gnl:$(GST_PLUGINS_GOOD_DIR):$(GST_PLUGINS_BASE_DIR):$(GST_PLUGINS_DIR)

# ths core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.xml

clean-local: clean-local-check

TESTS = $(check_PROGRAMS)

check_PROGRAMS =	\
	gnl/simple	\
	gnl/complex	\
	gnl/gnlsource	\
	gnl/gnloperation	\
	gnl/gnlcomposition	\
	gnl/seek

noinst_HEADERS = \
	gnl/common.h
# these tests don't even pass
noinst_PROGRAMS =

AM_CFLAGS = -DGST_USE_UNSTABLE_API $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)

SUPPRESSIONS = $(top_srcdir)/common/gst.supp