]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/blob - tests/check/Makefile.am
tests/check/: Add generic state-change test suite to help to fi leaks.
[glsdk/gst-plugins-ugly0-10.git] / tests / check / Makefile.am
1 include $(top_srcdir)/common/check.mak
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
5 REGISTRY_ENVIRONMENT = \
6         GST_REGISTRY=$(CHECK_REGISTRY)
8 TESTS_ENVIRONMENT = \
9         $(REGISTRY_ENVIRONMENT)                                 \
10         GST_PLUGIN_SYSTEM_PATH=                                 \
11         GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GST_PLUGINS_DIR)
13 # ths core dumps of some machines have PIDs appended
14 CLEANFILES = core.* test-registry.xml
16 clean-local: clean-local-check
18 TESTS = $(check_PROGRAMS)
20 if USE_AMRNB
21 AMRNB = elements/amrnbenc
22 else
23 AMRNB =
24 endif
26 if USE_MPEG2DEC
27 MPEG2DEC = elements/mpeg2dec
28 else
29 MPEG2DEC =
30 endif
32 check_PROGRAMS = \
33         generic/states \
34         $(AMRNB) \
35         $(MPEG2DEC)
37 # these tests don't even pass
38 noinst_PROGRAMS =
40 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
41 LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
43 # valgrind testing
44 VALGRIND_TESTS_DISABLE =
46 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-ugly.supp
48 elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
49 elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
51 EXTRA_DIST = gst-plugins-ugly.supp