gstreamer/tests/check/Makefile.am
Tim-Philipp Müller e501141c75 tests/check/Makefile.am: Don't try to run annodex unit tests if the annodex plugin has not been built (Fixes #351116).
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).
2006-08-16 12:02:48 +00:00

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)