mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
82da93b310
Original commit message from CVS: * check/Makefile.am: have some tests be disabled for valgrinding * check/elements/vorbisdec.c: (cleanup_vorbisdec), (GST_START_TEST): * ext/vorbis/vorbisdec.c: (vorbisdec_finalize): Fix A Leak. Chain To Parent Finalize.
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/check/test-registry.xml
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
CK_DEFAULT_TIMEOUT=20 \
|
|
$(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
|
|
|
|
$(CHECK_REGISTRY):
|
|
$(TESTS_ENVIRONMENT)
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
if USE_VORBIS
|
|
check_vorbis = elements/vorbisdec
|
|
else
|
|
check_vorbis =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
elements/audioconvert \
|
|
elements/audioresample \
|
|
elements/volume \
|
|
pipelines/simple_launch_lines \
|
|
$(check_vorbis)
|
|
|
|
# tests to fix leaks in
|
|
VALGRIND_TO_FIX = \
|
|
elements/audioresample \
|
|
pipelines/simple_launch_lines
|
|
|
|
# these tests don't even pass
|
|
# generic/states: elements need state fixin' before this can be added
|
|
noinst_PROGRAMS = \
|
|
generic/states
|
|
|
|
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
|