2005-08-20 18:07:10 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
2005-11-30 17:05:56 +00:00
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2005-08-21 17:44:09 +00:00
|
|
|
REGISTRY_ENVIRONMENT = \
|
2005-08-20 18:07:10 +00:00
|
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
|
2005-08-21 17:44:09 +00:00
|
|
|
TESTS_ENVIRONMENT = \
|
2006-07-28 17:17:24 +00:00
|
|
|
CK_DEFAULT_TIMEOUT=120 \
|
2005-08-21 17:44:09 +00:00
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
2005-09-16 08:18:16 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
2005-11-22 11:43:16 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR)
|
2005-08-21 17:44:09 +00:00
|
|
|
|
2005-08-20 18:07:10 +00:00
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
|
|
|
$(CHECK_REGISTRY):
|
2005-09-16 00:26:15 +00:00
|
|
|
$(TESTS_ENVIRONMENT)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2005-09-16 00:26:15 +00:00
|
|
|
TESTS = $(check_PROGRAMS)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2006-05-18 19:21:53 +00:00
|
|
|
if USE_ALSA
|
|
|
|
check_alsa = elements/alsa
|
|
|
|
else
|
|
|
|
check_alsa =
|
|
|
|
endif
|
|
|
|
|
tests/check/: Add simple unit test for oggmux from #337026 with checking for the
Original commit message from CVS:
Patch by: James Livingston <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.
2006-09-04 18:19:06 +00:00
|
|
|
if USE_OGG
|
|
|
|
check_ogg = pipelines/oggmux
|
|
|
|
else
|
|
|
|
check_ogg =
|
|
|
|
endif
|
|
|
|
|
2005-08-20 20:40:25 +00:00
|
|
|
if USE_VORBIS
|
ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that ...
Original commit message from CVS:
Patch by: James "Doc" Livingston <doclivingston at gmail com>
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init),
(vorbis_parse_parse_packet), (vorbis_parse_chain):
* ext/vorbis/vorbisparse.h:
* ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init),
(gst_vorbis_tag_class_init), (gst_vorbis_tag_init),
(gst_vorbis_tag_parse_packet):
* ext/vorbis/vorbistag.h:
Add new vorbistag element which derives from vorbisparse
and is essentially the same as well, only that it implements
the GstTagSetter interface and can modify the stream's
vorbiscomment on the fly (#335635).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag), (buffer_probe), (start_pipeline),
(get_buffer), (stop_pipeline), (_create_codebook_header_buffer),
(_create_audio_buffer), (GST_START_TEST), (vorbistag_suite):
Add unit test for new vorbistag element.
2006-10-03 11:51:48 +00:00
|
|
|
check_vorbis = elements/vorbisdec pipelines/vorbisenc elements/vorbistag
|
2005-08-20 20:40:25 +00:00
|
|
|
else
|
|
|
|
check_vorbis =
|
|
|
|
endif
|
|
|
|
|
2006-01-30 17:01:54 +00:00
|
|
|
if USE_THEORA
|
|
|
|
check_theora = pipelines/theoraenc
|
|
|
|
else
|
|
|
|
check_theora =
|
|
|
|
endif
|
|
|
|
|
2006-05-18 19:21:53 +00:00
|
|
|
check_PROGRAMS = \
|
|
|
|
$(check_alsa) \
|
tests/check/: Add simple unit test for oggmux from #337026 with checking for the
Original commit message from CVS:
Patch by: James Livingston <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.
2006-09-04 18:19:06 +00:00
|
|
|
$(check_ogg) \
|
2006-05-18 19:21:53 +00:00
|
|
|
$(check_vorbis) \
|
2006-01-30 17:01:54 +00:00
|
|
|
$(check_theora) \
|
tests/check/: Add simple unit test for oggmux from #337026 with checking for the
Original commit message from CVS:
Patch by: James Livingston <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.
2006-09-04 18:19:06 +00:00
|
|
|
elements/adder \
|
2005-08-25 17:20:02 +00:00
|
|
|
elements/audioconvert \
|
|
|
|
elements/audioresample \
|
2005-11-23 11:52:48 +00:00
|
|
|
elements/audiotestsrc \
|
2006-08-21 19:01:41 +00:00
|
|
|
elements/gdpdepay \
|
|
|
|
elements/gdppay \
|
2006-05-10 16:34:06 +00:00
|
|
|
elements/multifdsink \
|
tests/check/: Some small and basic unit tests for playbin; not very useful yet, but at least a start.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/playbin.c: (GST_START_TEST),
(gst_red_video_src_uri_get_type),
(gst_red_video_src_uri_get_protocols),
(gst_red_video_src_uri_get_uri), (gst_red_video_src_uri_set_uri),
(gst_red_video_src_uri_handler_init),
(gst_red_video_src_init_type), (gst_red_video_src_base_init),
(gst_red_video_src_create), (gst_red_video_src_class_init),
(gst_red_video_src_init), (plugin_init), (playbin_suite):
Some small and basic unit tests for playbin; not very useful yet,
but at least a start.
2006-10-18 09:53:03 +00:00
|
|
|
elements/playbin \
|
2006-10-19 09:17:48 +00:00
|
|
|
elements/subparse \
|
2006-04-26 16:44:20 +00:00
|
|
|
elements/videorate \
|
2005-11-23 12:14:10 +00:00
|
|
|
elements/videotestsrc \
|
2005-08-20 20:40:25 +00:00
|
|
|
elements/volume \
|
2005-11-30 17:05:56 +00:00
|
|
|
generic/clock-selection \
|
2005-11-21 22:56:33 +00:00
|
|
|
generic/states \
|
2006-08-03 15:04:42 +00:00
|
|
|
libs/audio \
|
2006-09-29 15:16:32 +00:00
|
|
|
libs/cddabasesrc \
|
2006-08-16 11:28:57 +00:00
|
|
|
libs/tag \
|
2006-05-12 21:30:00 +00:00
|
|
|
libs/video \
|
tests/check/: Add simple unit test for oggmux from #337026 with checking for the
Original commit message from CVS:
Patch by: James Livingston <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.
2006-09-04 18:19:06 +00:00
|
|
|
pipelines/simple-launch-lines
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2006-05-07 17:39:04 +00:00
|
|
|
# TORTURE_TO_FIX = \
|
|
|
|
# elements/adder
|
|
|
|
|
2005-09-19 16:12:09 +00:00
|
|
|
VALGRIND_TO_FIX = \
|
2006-05-18 19:21:53 +00:00
|
|
|
elements/alsa \
|
2005-09-19 16:12:09 +00:00
|
|
|
elements/audioresample \
|
2005-11-21 22:56:33 +00:00
|
|
|
generic/states \
|
2006-07-28 17:17:24 +00:00
|
|
|
libs/video
|
2005-09-19 16:12:09 +00:00
|
|
|
|
2005-08-24 16:18:25 +00:00
|
|
|
# these tests don't even pass
|
2006-09-21 09:27:47 +00:00
|
|
|
noinst_PROGRAMS = \
|
2006-10-21 16:39:54 +00:00
|
|
|
elements/audiorate \
|
2006-09-21 09:27:47 +00:00
|
|
|
elements/ffmpegcolorspace
|
2005-08-24 16:18:25 +00:00
|
|
|
|
2006-09-14 20:09:19 +00:00
|
|
|
AM_CFLAGS = $(GST_CFLAGS) $(GST_CHECK_CFLAGS)
|
|
|
|
LDADD = $(GST_LIBS) $(GST_CHECK_LIBS)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
|
|
|
# valgrind testing
|
2005-09-19 16:12:09 +00:00
|
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2006-04-10 20:32:46 +00:00
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-base.supp
|
2005-12-29 11:49:11 +00:00
|
|
|
|
2006-08-03 15:04:42 +00:00
|
|
|
libs_audio_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
2005-12-29 11:49:11 +00:00
|
|
|
libs_cddabasesrc_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la \
|
2006-09-23 15:02:51 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
|
2005-12-29 11:49:11 +00:00
|
|
|
$(LDADD)
|
2005-12-29 12:13:57 +00:00
|
|
|
|
2006-08-16 11:28:57 +00:00
|
|
|
libs_tag_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la $(LDADD)
|
|
|
|
|
2006-05-18 19:21:53 +00:00
|
|
|
elements_alsa_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
2006-05-14 18:15:17 +00:00
|
|
|
elements_audioconvert_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
2006-10-21 16:39:54 +00:00
|
|
|
elements_audiorate_LDADD = $(LDADD)
|
|
|
|
elements_audiorate_CFLAGS = $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2006-08-21 19:01:41 +00:00
|
|
|
elements_gdpdepay_LDADD = $(GST_GDP_LIBS) $(LDADD)
|
|
|
|
elements_gdppay_LDADD = $(GST_GDP_LIBS) $(LDADD)
|
|
|
|
|
tests/check/: Some small and basic unit tests for playbin; not very useful yet, but at least a start.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/playbin.c: (GST_START_TEST),
(gst_red_video_src_uri_get_type),
(gst_red_video_src_uri_get_protocols),
(gst_red_video_src_uri_get_uri), (gst_red_video_src_uri_set_uri),
(gst_red_video_src_uri_handler_init),
(gst_red_video_src_init_type), (gst_red_video_src_base_init),
(gst_red_video_src_create), (gst_red_video_src_class_init),
(gst_red_video_src_init), (plugin_init), (playbin_suite):
Some small and basic unit tests for playbin; not very useful yet,
but at least a start.
2006-10-18 09:53:03 +00:00
|
|
|
elements_playbin_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
|
|
|
elements_playbin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2006-10-19 09:17:48 +00:00
|
|
|
elements_subparse_LDADD = $(LDADD)
|
|
|
|
elements_subparse_CFLAGS = $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
gst/adder/gstadder.c: Make it easier to copy&paste
Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_get_type):
Make it easier to copy&paste
* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_update_real_volume),
(gst_volume_set_volume), (gst_volume_set_mute),
(gst_volume_class_init), (volume_process_int16), (volume_set_caps),
(volume_transform_ip), (volume_update_mute),
(volume_update_volume):
* gst/volume/gstvolume.h:
Add own debug category, move duplicate code to helper function, fix
property texts, add more comments and prepare ffor liboil-goodness
* tests/check/Makefile.am:
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
add test for mute and passtrough case, be a bit more verbose to track
failure
* tests/check/generic/states.c: (GST_START_TEST):
catch elements that fail to instantiate
2006-05-28 19:42:27 +00:00
|
|
|
elements_volume_LDADD = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(LDADD)
|
|
|
|
|
|
|
|
elements_volume_CFLAGS = \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2006-09-14 20:09:19 +00:00
|
|
|
$(AM_CFLAGS)
|
gst/adder/gstadder.c: Make it easier to copy&paste
Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_get_type):
Make it easier to copy&paste
* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_update_real_volume),
(gst_volume_set_volume), (gst_volume_set_mute),
(gst_volume_class_init), (volume_process_int16), (volume_set_caps),
(volume_transform_ip), (volume_update_mute),
(volume_update_volume):
* gst/volume/gstvolume.h:
Add own debug category, move duplicate code to helper function, fix
property texts, add more comments and prepare ffor liboil-goodness
* tests/check/Makefile.am:
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
add test for mute and passtrough case, be a bit more verbose to track
failure
* tests/check/generic/states.c: (GST_START_TEST):
catch elements that fail to instantiate
2006-05-28 19:42:27 +00:00
|
|
|
|
ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that ...
Original commit message from CVS:
Patch by: James "Doc" Livingston <doclivingston at gmail com>
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init),
(vorbis_parse_parse_packet), (vorbis_parse_chain):
* ext/vorbis/vorbisparse.h:
* ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init),
(gst_vorbis_tag_class_init), (gst_vorbis_tag_init),
(gst_vorbis_tag_parse_packet):
* ext/vorbis/vorbistag.h:
Add new vorbistag element which derives from vorbisparse
and is essentially the same as well, only that it implements
the GstTagSetter interface and can modify the stream's
vorbiscomment on the fly (#335635).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag), (buffer_probe), (start_pipeline),
(get_buffer), (stop_pipeline), (_create_codebook_header_buffer),
(_create_audio_buffer), (GST_START_TEST), (vorbistag_suite):
Add unit test for new vorbistag element.
2006-10-03 11:51:48 +00:00
|
|
|
elements_vorbistag_LDADD = \
|
|
|
|
$(VORBIS_LIBS) \
|
|
|
|
$(LDADD)
|
|
|
|
|
|
|
|
elements_vorbistag_CFLAGS = \
|
|
|
|
$(VORBIS_CFLAGS) \
|
|
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2006-05-12 21:30:00 +00:00
|
|
|
libs_video_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
2006-09-05 09:12:25 +00:00
|
|
|
pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS)
|
2006-09-14 20:09:19 +00:00
|
|
|
pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS)
|
tests/check/: Add simple unit test for oggmux from #337026 with checking for the
Original commit message from CVS:
Patch by: James Livingston <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.
2006-09-04 18:19:06 +00:00
|
|
|
|
2006-09-27 12:55:45 +00:00
|
|
|
pipelines_simple_launch_lines_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
2006-04-10 20:32:46 +00:00
|
|
|
EXTRA_DIST = gst-plugins-base.supp
|