2005-08-20 18:07:10 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
2005-08-21 17:44:09 +00:00
|
|
|
CHECK_REGISTRY = $(top_builddir)/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 = \
|
2005-09-02 13:58:15 +00:00
|
|
|
CK_DEFAULT_TIMEOUT=20 \
|
2005-08-21 17:44:09 +00:00
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
2005-09-16 08:18:16 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
2005-08-24 18:03:12 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(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
|
|
|
|
2005-08-20 20:40:25 +00:00
|
|
|
if USE_VORBIS
|
|
|
|
check_vorbis = elements/vorbisdec
|
|
|
|
else
|
|
|
|
check_vorbis =
|
|
|
|
endif
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
2005-08-25 17:20:02 +00:00
|
|
|
elements/audioconvert \
|
|
|
|
elements/audioresample \
|
2005-08-20 20:40:25 +00:00
|
|
|
elements/volume \
|
check/: Add extra tests for basetransform based components.
Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite):
Add extra tests for basetransform based components.
Comment out the test_element_negotiation test until we decide
if it's testing correct behaviour.
* ext/libvisual/visual.c: (gst_visual_init), (get_buffer),
(gst_visual_chain), (gst_visual_change_state):
Slightly more correct but still bogus timestamping.
Fix state change function.
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_class_init):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_prepare_size), (gst_videoscale_set_caps),
(gst_videoscale_prepare_image):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform_ip):
Basetransform updates. Enable passthrough modes.
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_xcontext_get),
(gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc):
Negotiation fix that allows the window to return to the original
size and renegotiate passthrough upstream. Extra debug output.
2005-09-09 17:53:47 +00:00
|
|
|
pipelines/simple_launch_lines \
|
2005-08-20 20:40:25 +00:00
|
|
|
$(check_vorbis)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
2005-09-19 16:12:09 +00:00
|
|
|
# tests to fix leaks in
|
|
|
|
VALGRIND_TO_FIX = \
|
|
|
|
elements/audioresample \
|
|
|
|
pipelines/simple_launch_lines
|
|
|
|
|
2005-08-24 16:18:25 +00:00
|
|
|
# these tests don't even pass
|
|
|
|
# generic/states: elements need state fixin' before this can be added
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
generic/states
|
|
|
|
|
2005-08-24 11:56:08 +00:00
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(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
|
|
|
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|