tests: add simple test for creating postproc elements
[gstreamer-omap:gst-ffmpeg.git] / tests / check / Makefile.am
1 include $(top_srcdir)/common/check.mak
2
3 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
4 TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
5
6 REGISTRY_ENVIRONMENT = \
7         GST_REGISTRY=$(CHECK_REGISTRY)
8
9 TESTS_ENVIRONMENT = \
10         $(REGISTRY_ENVIRONMENT)                                 \
11         GST_PLUGIN_SYSTEM_PATH=                                 \
12         GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/../gst-plugins-good/gst:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
13
14 # ths core dumps of some machines have PIDs appended
15 CLEANFILES = core.* test-registry.xml
16
17 clean-local: clean-local-check
18
19 check_PROGRAMS = \
20         generic/plugin-test \
21         generic/libavcodec-locking \
22         elements/ffdec_adpcm \
23         elements/ffdemux_ape \
24         elements/postproc
25
26 VALGRIND_TO_FIX = \
27         generic/plugin-test \
28         generic/libavcodec-locking \
29         elements/ffdemux_ape
30
31 TESTS = $(check_PROGRAMS)
32
33 # these tests don't even pass
34 noinst_PROGRAMS =
35
36 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
37         $(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\""
38
39 LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
40
41 # valgrind testing
42 VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
43
44 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-ffmpeg.supp
45
46 EXTRA_DIST = gst-ffmpeg.supp