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) \
|
2009-04-24 13:51:00 +00:00
|
|
|
STATE_IGNORE_ELEMENTS="alsaspdifsink apexsink cdaudio dc1394src dccpclientsrc dccpclientsink dccpserversrc dccpserversink dvbsrc dvbbasebin dfbvideosink festival nassink rsndvdbin sdlaudiosink sdlvideosink vcdsrc rfbsrc"
|
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-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
|
|
|
|
|
2008-08-12 13:08:39 +00:00
|
|
|
if USE_X264
|
|
|
|
check_x264enc=elements/x264enc
|
|
|
|
else
|
|
|
|
check_x264enc=
|
|
|
|
endif
|
|
|
|
|
2007-07-19 09:08:30 +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 \
|
2008-08-12 13:08:39 +00:00
|
|
|
elements/mplex \
|
|
|
|
elements/x264enc
|
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
|
|
|
|
2006-06-06 14:39:15 +00:00
|
|
|
check_PROGRAMS = \
|
2007-08-16 06:49:39 +00:00
|
|
|
generic/states \
|
2006-09-02 18:49:01 +00:00
|
|
|
$(check_mpeg2enc) \
|
2008-03-21 14:50:41 +00:00
|
|
|
$(check_mplex) \
|
2006-12-12 16:10:21 +00:00
|
|
|
$(check_neon) \
|
2008-04-04 19:18:36 +00:00
|
|
|
$(check_ofa) \
|
2007-07-19 09:08:30 +00:00
|
|
|
$(check_timidity) \
|
2008-08-12 13:08:39 +00:00
|
|
|
$(check_x264enc) \
|
2008-11-13 15:20:15 +00:00
|
|
|
elements/aacparse \
|
|
|
|
elements/amrparse \
|
2009-02-05 21:06:23 +00:00
|
|
|
elements/camerabin \
|
2009-01-23 11:46:28 +00:00
|
|
|
elements/legacyresample \
|
2008-11-11 19:31:35 +00:00
|
|
|
elements/qtmux \
|
2008-02-25 08:53:51 +00:00
|
|
|
elements/selector \
|
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 \
|
2008-10-06 16:01:49 +00:00
|
|
|
elements/y4menc \
|
|
|
|
$(check_metadata)
|
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)
|
|
|
|
|
2008-02-08 02:48:54 +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-02-05 21:06:23 +00:00
|
|
|
elements_camerabin_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CHECK_CFLAGS)
|
|
|
|
elements_camerabin_LDADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GST_CHECK_LIBS) \
|
|
|
|
-lgstinterfaces-@GST_MAJORMINOR@ \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la
|
|
|
|
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-03-04 15:15:57 +00:00
|
|
|
EXTRA_DIST = gst-plugins-bad.supp
|