gstreamer/tests/check/Makefile.am

173 lines
4.5 KiB
Makefile
Raw Normal View History

include $(top_srcdir)/common/check.mak
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
GST_TOOLS_DIR = $(top_builddir)/tools
REGISTRY_ENVIRONMENT = \
GST_REGISTRY=$(CHECK_REGISTRY)
# FIXME: the PLUGIN_PATH has a hack to reach good for now
# decide if it's worth it to add a .pc file for this, plus a dependancy on it
TESTS_ENVIRONMENT = \
$(REGISTRY_ENVIRONMENT) \
GST_PLUGIN_SYSTEM_PATH= \
2009-04-02 10:46:13 +00:00
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/../gst-ffmpeg/ext/ffmpeg:$(top_builddir)/../gst-plugins-good/gst:$(top_builddir)/../gst-plugins-good/sys:$(top_builddir)/../gst-plugins-good/ext:$(top_builddir)/../gst-plugins-ugly/gst:$(top_builddir)/../gst-plugins-ugly/sys:$(top_builddir)/../gst-plugins-ugly/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
STATE_IGNORE_ELEMENTS="alsaspdifsink apexsink camerabin cdaudio dc1394src dccpclientsrc dccpclientsink dccpserversrc dccpserversink dvbsrc dvbbasebin dfbvideosink festival nassink rsndvdbin sdlaudiosink sdlvideosink vcdsrc rfbsrc vdpauyuvvideo vdpauvideoyuv vdpaumpegdec neonhttpsrc"
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
# override to _not_ install the test plugins
install-pluginLTLIBRARIES:
# the core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.*
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-bad.supp
clean-local: clean-local-check
if USE_ASSRENDER
check_assrender = elements/assrender
else
check_assrender =
endif
2009-09-06 09:50:39 +00:00
if USE_FAAC
check_faac = elements/faac
else
check_faac =
endif
2010-02-11 19:37:55 +00:00
if USE_FAAD
check_faad = elements/faad
else
check_faad =
endif
2009-03-20 13:55:19 +00:00
if USE_METADATA
2009-03-20 13:33:31 +00:00
check_metadata = pipelines/metadata
2009-03-20 13:55:19 +00:00
else
check_metadata =
2009-03-20 13:55:19 +00:00
endif
if USE_MPEG2ENC
check_mpeg2enc = elements/mpeg2enc
else
check_mpeg2enc =
endif
if USE_MPLEX
check_mplex = elements/mplex
else
check_mplex =
endif
if USE_NEON
check_neon = elements/neonhttpsrc
else
check_neon =
endif
if USE_OFA
check_ofa = elements/ofa
else
check_ofa =
endif
if USE_TIMIDITY
check_timidity=elements/timidity
else
check_timidity=
endif
if USE_KATE
check_kate=elements/kate
else
check_kate=
endif
2009-09-18 22:45:09 +00:00
if USE_MIMIC
check_mimic=pipelines/mimic
else
check_mimic=
endif
VALGRIND_TO_FIX = \
elements/mpeg2enc \
2009-06-05 18:32:26 +00:00
elements/mplex
# valgrind testing
VALGRIND_TESTS_DISABLE = \
$(VALGRIND_TO_FIX)
# these tests don't even pass
# camerabin: temporarily disabled because it fails with current core -git
# (which will be release before the next -bad release though, and chances are
# changes to fix this are needed in the camerabin test)
# neon: too flaky (almost always fails 'the first time')
noinst_PROGRAMS = \
$(check_neon) \
elements/camerabin
check_PROGRAMS = \
generic/states \
$(check_assrender) \
2009-09-06 09:50:39 +00:00
$(check_faac) \
2010-02-11 19:37:55 +00:00
$(check_faad) \
$(check_mpeg2enc) \
$(check_mplex) \
$(check_ofa) \
$(check_timidity) \
$(check_kate) \
elements/aacparse \
elements/amrparse \
elements/autoconvert \
elements/asfmux \
2009-10-08 17:51:31 +00:00
elements/capssetter \
elements/dataurisrc \
elements/legacyresample \
elements/jpegparse \
elements/qtmux \
elements/selector \
elements/mxfdemux \
2009-04-02 10:46:13 +00:00
elements/mxfmux \
pipelines/mxf \
2009-09-18 22:45:09 +00:00
$(check_metadata) \
2009-09-28 23:54:53 +00:00
$(check_mimic) \
elements/rtpmux
noinst_HEADERS = elements/mxfdemux.h elements/amrparse_data.h elements/aacparse_data.h
TESTS = $(check_PROGRAMS)
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) $(GST_OPTION_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
elements_camerabin_CFLAGS = \
-I$(top_builddir)/gst-libs \
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CHECK_CFLAGS) \
-DGST_USE_UNSTABLE_API
elements_camerabin_LDADD = \
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
$(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
$(GST_CHECK_LIBS) \
-lgstinterfaces-@GST_MAJORMINOR@
2009-02-05 21:06:23 +00:00
elements_camerabin_SOURCES = elements/camerabin.c
elements_timidity_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_timidity_LDADD = $(GST_BASE_LIBS) $(LDADD)
elements_kate_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_kate_LDADD = $(GST_BASE_LIBS) $(LDADD)
2009-09-28 23:54:53 +00:00
elements_rtpmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_rtpmux_LDADD = $(GST_BASE_LIBS) $(LDADD) -lgstrtp-0.10
elements_assrender_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_assrender_LDADD = $(GST_BASE_LIBS) $(LDADD) -lgstvideo-0.10 -lgstapp-0.10
EXTRA_DIST = gst-plugins-bad.supp