mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
acb81c58c5
Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * configure.ac: * ext/Makefile.am: * ext/mplex/Makefile.am: * ext/mplex/gstmplex.cc: * ext/mplex/gstmplex.hh: * ext/mplex/gstmplexibitstream.cc: * ext/mplex/gstmplexibitstream.hh: * ext/mplex/gstmplexjob.cc: * ext/mplex/gstmplexjob.hh: * ext/mplex/gstmplexoutputstream.cc: * ext/mplex/gstmplexoutputstream.hh: Port mplex element to 0.10. Fixes bug #520329. * tests/check/Makefile.am: * tests/check/elements/mplex.c: (test_sink_event), (setup_src_pad), (teardown_src_pad), (setup_mplex), (cleanup_mplex), (GST_START_TEST), (mplex_suite), (main): Add unit test for the mplex element.
96 lines
2.2 KiB
Makefile
96 lines
2.2 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
|
|
|
|
GST_TOOLS_DIR = $(top_builddir)/tools
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
# FIXME: the PLUGIN_PATH has a hack to reach good for now
|
|
# decide if it's worth it to add a .pc file for this, plus a dependancy on it
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
|
STATE_IGNORE_ELEMENTS="cdaudio festival vcdsrc nassink glimagesink dvbsrc dvbbasebin sdlaudiosink sdlvideosink alsaspdifsink dfbvideosink"
|
|
|
|
EXTRA_DIST = test-cert.pem test-key.pem
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
# override to _not_ install the test plugins
|
|
install-pluginLTLIBRARIES:
|
|
|
|
# the core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.*
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-bad.supp
|
|
|
|
clean-local: clean-local-check
|
|
|
|
if USE_MPEG2ENC
|
|
check_mpeg2enc = elements/mpeg2enc
|
|
else
|
|
check_mpeg2enc =
|
|
endif
|
|
|
|
if USE_MPLEX
|
|
check_mplex = elements/mplex
|
|
else
|
|
check_mplex =
|
|
endif
|
|
|
|
if USE_NEON
|
|
check_neon = elements/neonhttpsrc
|
|
else
|
|
check_neon =
|
|
endif
|
|
|
|
if USE_SOUP
|
|
check_soup = elements/souphttpsrc
|
|
else
|
|
check_soup =
|
|
endif
|
|
|
|
if USE_TIMIDITY
|
|
check_timidity=elements/timidity
|
|
else
|
|
check_timidity=
|
|
endif
|
|
|
|
|
|
VALGRIND_TO_FIX = \
|
|
elements/mpeg2enc \
|
|
elements/mplex
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE = \
|
|
$(VALGRIND_TO_FIX)
|
|
|
|
check_PROGRAMS = \
|
|
generic/states \
|
|
$(check_mpeg2enc) \
|
|
$(check_mplex) \
|
|
$(check_neon) \
|
|
$(check_soup) \
|
|
$(check_timidity) \
|
|
elements/interleave \
|
|
elements/rganalysis \
|
|
elements/rglimiter \
|
|
elements/rgvolume \
|
|
elements/selector \
|
|
elements/y4menc
|
|
|
|
noinst_HEADERS =
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) $(GST_OPTION_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
elements_timidity_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
|
elements_timidity_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
|
|
|
elements_souphttpsrc_CFLAGS = $(SOUP_CFLAGS) $(AM_CFLAGS)
|
|
elements_souphttpsrc_LDADD = $(SOUP_LIBS) $(LDADD)
|