mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
dc26edbddf
Original commit message from CVS: Patch by: Sebastian Dröge <slomo@circular-chaos.org> * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init): Fix minor memleak when creating pads from static pad templates (#369627). * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/mpeg2dec.c: (setup_mpeg2dec), (cleanup_mpeg2dec), (GST_START_TEST), (mpeg2dec_suite), (main): Add unit tests for mpeg2dec (#369627).
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(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)
|
|
|
|
if USE_AMRNB
|
|
AMRNB = elements/amrnbenc
|
|
else
|
|
AMRNB =
|
|
endif
|
|
|
|
if USE_MPEG2DEC
|
|
MPEG2DEC = elements/mpeg2dec
|
|
else
|
|
MPEG2DEC =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
$(AMRNB) \
|
|
$(MPEG2DEC)
|
|
|
|
# these tests don't even pass
|
|
noinst_PROGRAMS =
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE =
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-ugly.supp
|
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
EXTRA_DIST = gst-plugins-ugly.supp
|