Add test infrastructure to gst-ffmpeg (#324279).
[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.xml
4
5 REGISTRY_ENVIRONMENT = \
6         GST_REGISTRY=$(CHECK_REGISTRY)
7
8 TESTS_ENVIRONMENT = \
9         $(REGISTRY_ENVIRONMENT)                                 \
10         GST_PLUGIN_SYSTEM_PATH=                                 \
11         GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
12
13 # ths core dumps of some machines have PIDs appended
14 CLEANFILES = core.* test-registry.xml
15
16 clean-local: clean-local-check
17
18 check_PROGRAMS =
19 ####check_PROGRAMS = \
20 ####    generic/libavcodec-locking
21     
22 VALGRIND_TO_FIX =
23 ####VALGRIND_TO_FIX = \
24 ####    generic/libavcodec-locking
25
26 TESTS = $(check_PROGRAMS)
27
28 # these tests don't even pass
29 noinst_PROGRAMS =
30
31 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
32 LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
33
34 # valgrind testing
35 VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
36
37 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-ffmpeg.supp
38
39 EXTRA_DIST = gst-ffmpeg.supp