mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
e53a24511b
Original commit message from CVS: * gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init), (gst_alpha_color_transform_caps), (gst_alpha_color_set_caps): Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always catch it if those caps aren't a subset of our template caps, also see #421543). Fixes #429319 in a way. Also, don't leak the pad template in the transform_caps function. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/alphacolor.c: (setup_alphacolor), (cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32), (create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4), (GST_START_TEST), (alphacolor_suite): Add some basic unit tests for alphacolor.
95 lines
2.2 KiB
Makefile
95 lines
2.2 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
|
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
|
GST_TEST_FILES_PATH=$(TEST_FILES_DIRECTORY) \
|
|
STATE_IGNORE_ELEMENTS="aasink cacasink autovideosink gconfvideosink"
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
clean-local: clean-local-check
|
|
|
|
if USE_ANNODEX
|
|
check_annodex = \
|
|
elements/cmmldec \
|
|
elements/cmmlenc
|
|
else
|
|
check_annodex =
|
|
endif
|
|
|
|
if USE_SUNAUDIO
|
|
check_sunaudio = elements/sunaudio
|
|
else
|
|
check_sunaudio =
|
|
endif
|
|
|
|
if USE_TAGLIB
|
|
check_taglib = \
|
|
elements/id3v2mux \
|
|
elements/apev2mux
|
|
else
|
|
check_taglib =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
generic/states \
|
|
$(check_annodex) \
|
|
elements/alphacolor \
|
|
elements/audiopanorama \
|
|
elements/audioinvert \
|
|
elements/audioamplify \
|
|
elements/audiodynamic \
|
|
elements/avimux \
|
|
elements/id3demux \
|
|
elements/level \
|
|
elements/matroskamux \
|
|
elements/icydemux \
|
|
elements/videofilter \
|
|
$(check_sunaudio) \
|
|
$(check_taglib)
|
|
|
|
VALGRIND_TO_FIX =
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
# these tests don't even pass
|
|
# autodetect: temporarily disabled because of broken videosinks in -bad
|
|
noinst_PROGRAMS = \
|
|
elements/autodetect
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|
|
|
|
elements_audiopanorama_LDADD = \
|
|
$(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \
|
|
$(LDADD)
|
|
|
|
elements_audiopanorama_CFLAGS = \
|
|
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
elements_sunaudio_CFLAGS = \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(AM_CFLAGS)
|
|
elements_sunaudio_LDADD = \
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-@GST_MAJORMINOR@ \
|
|
$(LDADD)
|