mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
51 lines
1.3 KiB
Makefile
51 lines
1.3 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)/../gst-plugins-good/gst:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
clean-local: clean-local-check
|
|
|
|
if !GST_LIBAV_ENABLE_LGPL
|
|
postproc_tests = elements/postproc
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
generic/plugin-test \
|
|
generic/libavcodec-locking \
|
|
elements/avdec_adpcm \
|
|
elements/avdemux_ape \
|
|
$(postproc_tests)
|
|
|
|
VALGRIND_TO_FIX = \
|
|
generic/plugin-test \
|
|
generic/libavcodec-locking \
|
|
elements/avdemux_ape
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
# these tests don't even pass
|
|
noinst_PROGRAMS =
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
|
|
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
|
-DGST_USE_UNSTABLE_API
|
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-libav.supp
|
|
|
|
EXTRA_DIST = gst-libav.supp
|