2006-04-01 16:50:49 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
2007-09-20 15:06:23 +00:00
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
|
2006-04-01 16:50:49 +00:00
|
|
|
|
|
|
|
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) \
|
2010-01-12 16:05:13 +00:00
|
|
|
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"
|
2006-04-01 16:50:49 +00:00
|
|
|
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
# override to _not_ install the test plugins
|
|
|
|
install-pluginLTLIBRARIES:
|
|
|
|
|
|
|
|
# the core dumps of some machines have PIDs appended
|
2007-09-20 15:06:23 +00:00
|
|
|
CLEANFILES = core.* test-registry.*
|
2006-04-01 16:50:49 +00:00
|
|
|
|
2006-08-23 10:30:31 +00:00
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-bad.supp
|
2006-04-01 16:50:49 +00:00
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
2009-09-06 09:50:39 +00:00
|
|
|
if USE_FAAC
|
|
|
|
check_faac = elements/faac
|
|
|
|
else
|
|
|
|
check_faac =
|
|
|
|
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
|
2008-10-06 16:01:49 +00:00
|
|
|
check_metadata =
|
2009-03-20 13:55:19 +00:00
|
|
|
endif
|
2008-10-06 16:01:49 +00:00
|
|
|
|
2006-07-13 12:42:29 +00:00
|
|
|
if USE_MPEG2ENC
|
|
|
|
check_mpeg2enc = elements/mpeg2enc
|
|
|
|
else
|
|
|
|
check_mpeg2enc =
|
|
|
|
endif
|
|
|
|
|
2008-03-05 06:03:03 +00:00
|
|
|
if USE_MPLEX
|
|
|
|
check_mplex = elements/mplex
|
|
|
|
else
|
|
|
|
check_mplex =
|
|
|
|
endif
|
|
|
|
|
2006-12-12 16:10:21 +00:00
|
|
|
if USE_NEON
|
|
|
|
check_neon = elements/neonhttpsrc
|
|
|
|
else
|
|
|
|
check_neon =
|
|
|
|
endif
|
|
|
|
|
2008-04-04 19:18:36 +00:00
|
|
|
if USE_OFA
|
|
|
|
check_ofa = elements/ofa
|
|
|
|
else
|
|
|
|
check_ofa =
|
|
|
|
endif
|
|
|
|
|
2007-07-19 09:08:30 +00:00
|
|
|
if USE_TIMIDITY
|
|
|
|
check_timidity=elements/timidity
|
|
|
|
else
|
|
|
|
check_timidity=
|
|
|
|
endif
|
|
|
|
|
2009-02-15 18:35:04 +00:00
|
|
|
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
|
|
|
|
|
2009-02-15 18:35:04 +00:00
|
|
|
|
tests/check/: Add unit tests for wavpack elements (#352476).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST),
(wavpackparse_suite), (main):
Add unit tests for wavpack elements (#352476).
2006-08-23 09:22:07 +00:00
|
|
|
VALGRIND_TO_FIX = \
|
2008-03-05 06:03:03 +00:00
|
|
|
elements/mpeg2enc \
|
2009-06-05 18:32:26 +00:00
|
|
|
elements/mplex
|
tests/check/: Add unit tests for wavpack elements (#352476).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST),
(wavpackparse_suite), (main):
Add unit tests for wavpack elements (#352476).
2006-08-23 09:22:07 +00:00
|
|
|
|
|
|
|
# valgrind testing
|
2006-09-02 18:49:01 +00:00
|
|
|
VALGRIND_TESTS_DISABLE = \
|
|
|
|
$(VALGRIND_TO_FIX)
|
tests/check/: Add unit tests for wavpack elements (#352476).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST),
(wavpackparse_suite), (main):
Add unit tests for wavpack elements (#352476).
2006-08-23 09:22:07 +00:00
|
|
|
|
2009-08-11 08:00:37 +00:00
|
|
|
# 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
|
|
|
|
|
2006-06-06 14:39:15 +00:00
|
|
|
check_PROGRAMS = \
|
2007-08-16 06:49:39 +00:00
|
|
|
generic/states \
|
2009-09-06 09:50:39 +00:00
|
|
|
$(check_faac) \
|
2006-09-02 18:49:01 +00:00
|
|
|
$(check_mpeg2enc) \
|
2008-03-21 14:50:41 +00:00
|
|
|
$(check_mplex) \
|
2008-04-04 19:18:36 +00:00
|
|
|
$(check_ofa) \
|
2007-07-19 09:08:30 +00:00
|
|
|
$(check_timidity) \
|
2009-02-15 18:35:04 +00:00
|
|
|
$(check_kate) \
|
2008-11-13 15:20:15 +00:00
|
|
|
elements/aacparse \
|
|
|
|
elements/amrparse \
|
2009-10-24 11:54:19 +00:00
|
|
|
elements/autoconvert \
|
2009-07-29 01:51:39 +00:00
|
|
|
elements/asfmux \
|
2009-10-08 17:51:31 +00:00
|
|
|
elements/capssetter \
|
2009-01-23 11:46:28 +00:00
|
|
|
elements/legacyresample \
|
2009-08-19 10:22:30 +00:00
|
|
|
elements/jpegparse \
|
2008-11-11 19:31:35 +00:00
|
|
|
elements/qtmux \
|
2008-02-25 08:53:51 +00:00
|
|
|
elements/selector \
|
2009-06-01 19:24:12 +00:00
|
|
|
elements/shapewipe \
|
2008-12-16 09:59:38 +00:00
|
|
|
elements/mxfdemux \
|
2009-04-02 10:46:13 +00:00
|
|
|
elements/mxfmux \
|
2009-04-07 13:50:37 +00:00
|
|
|
pipelines/mxf \
|
2009-09-18 22:45:09 +00:00
|
|
|
$(check_metadata) \
|
2009-09-28 23:54:53 +00:00
|
|
|
$(check_mimic) \
|
|
|
|
elements/rtpmux
|
2008-01-23 10:11:44 +00:00
|
|
|
|
2009-01-06 22:51:37 +00:00
|
|
|
noinst_HEADERS = elements/mxfdemux.h elements/amrparse_data.h elements/aacparse_data.h
|
2008-01-02 20:49:12 +00:00
|
|
|
|
2006-04-01 16:50:49 +00:00
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
|
2009-06-12 07:29:20 +00:00
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) $(GST_OPTION_CFLAGS)
|
2006-04-01 16:50:49 +00:00
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
2006-09-02 18:49:01 +00:00
|
|
|
|
2009-06-12 07:29:20 +00:00
|
|
|
elements_camerabin_CFLAGS = \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2009-10-29 23:42:34 +00:00
|
|
|
$(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_CHECK_CFLAGS) \
|
2009-06-12 07:29:20 +00:00
|
|
|
-DGST_USE_UNSTABLE_API
|
2009-06-05 18:17:55 +00:00
|
|
|
elements_camerabin_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
2009-10-29 23:42:34 +00:00
|
|
|
$(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
$(GST_CHECK_LIBS) \
|
2009-06-05 18:17:55 +00:00
|
|
|
-lgstinterfaces-@GST_MAJORMINOR@
|
2009-02-05 21:06:23 +00:00
|
|
|
elements_camerabin_SOURCES = elements/camerabin.c
|
|
|
|
|
2007-07-19 09:08:30 +00:00
|
|
|
elements_timidity_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_timidity_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
|
|
|
|
2009-02-15 18:35:04 +00:00
|
|
|
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
|
|
|
|
|
2009-03-04 15:15:57 +00:00
|
|
|
EXTRA_DIST = gst-plugins-bad.supp
|