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= \
|
2007-09-20 15:06:23 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
2008-10-16 14:54:36 +00:00
|
|
|
STATE_IGNORE_ELEMENTS="alsaspdifsink apexsink cdaudio dc1394src dvbsrc dvbbasebin dfbvideosink festival nassink sdlaudiosink sdlvideosink vcdsrc"
|
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
|
|
|
|
|
2008-10-06 16:01:49 +00:00
|
|
|
if USE_METADATA
|
|
|
|
check_metadata = pipelines/metadata
|
|
|
|
else
|
|
|
|
check_metadata =
|
|
|
|
endif
|
|
|
|
|
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-02-25 08:53:51 +00:00
|
|
|
elements/selector \
|
2008-10-06 16:01:49 +00:00
|
|
|
elements/y4menc \
|
|
|
|
$(check_metadata)
|
2008-01-23 10:11:44 +00:00
|
|
|
|
2008-02-08 00:40:34 +00:00
|
|
|
noinst_HEADERS =
|
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
|
|
|
|
2007-07-19 09:08:30 +00:00
|
|
|
elements_timidity_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_timidity_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
|
|
|
|