mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +00:00
e501141c75
Original commit message from CVS: * tests/check/Makefile.am: Don't try to run annodex unit tests if the annodex plugin has not been built (Fixes #351116).
56 lines
1.2 KiB
Makefile
56 lines
1.2 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:$(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 USE_ANNODEX
|
|
check_annodex = \
|
|
elements/cmmldec \
|
|
elements/cmmlenc
|
|
else
|
|
check_annodex =
|
|
endif
|
|
|
|
if USE_TAGLIB
|
|
check_taglib = \
|
|
elements/id3v2mux \
|
|
elements/apev2mux
|
|
else
|
|
check_taglib =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
$(check_annodex) \
|
|
elements/avimux \
|
|
elements/level \
|
|
elements/matroskamux \
|
|
elements/icydemux \
|
|
$(check_taglib)
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
# 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
|
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|