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 = \
|
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-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
|
|
|
|
|
2005-08-20 20:40:25 +00:00
|
|
|
if USE_VORBIS
|
2006-01-30 15:01:28 +00:00
|
|
|
check_vorbis = elements/vorbisdec pipelines/vorbisenc
|
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) \
|
|
|
|
$(check_vorbis) \
|
2006-01-30 17:01:54 +00:00
|
|
|
$(check_theora) \
|
2006-05-29 15:49:53 +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-05-10 16:34:06 +00:00
|
|
|
elements/multifdsink \
|
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 \
|
2005-12-29 11:49:11 +00:00
|
|
|
libs/cddabasesrc \
|
2006-05-12 21:30:00 +00:00
|
|
|
libs/video \
|
2005-11-30 17:05:56 +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 \
|
2005-12-29 11:49:11 +00:00
|
|
|
libs/cddabasesrc \
|
2006-05-12 21:30:00 +00:00
|
|
|
libs/video \
|
2005-11-30 17:05:56 +00:00
|
|
|
pipelines/simple-launch-lines
|
2005-09-19 16:12:09 +00:00
|
|
|
|
2005-08-24 16:18:25 +00:00
|
|
|
# these tests don't even pass
|
2005-11-21 22:56:33 +00:00
|
|
|
noinst_PROGRAMS =
|
2005-08-24 16:18:25 +00:00
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
libs_cddabasesrc_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
2005-12-29 12:13:57 +00:00
|
|
|
|
|
|
|
libs_cddabasesrc_CFLAGS = \
|
2005-12-29 12:43:22 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
2005-12-29 12:13:57 +00:00
|
|
|
$(CFLAGS) $(AM_CFLAGS)
|
2006-04-10 20:32:46 +00:00
|
|
|
|
2006-05-18 19:21:53 +00:00
|
|
|
elements_alsa_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
|
|
|
elements_alsa_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2006-05-14 18:15:17 +00:00
|
|
|
elements_audioconvert_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
|
|
$(LDADD)
|
|
|
|
|
|
|
|
elements_audioconvert_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(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) \
|
|
|
|
$(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)
|
|
|
|
libs_video_CFLAGS = -I$(top_srcdir)/gst-libs $(CFLAGS) $(AM_CFLAGS)
|
|
|
|
|
2006-04-10 20:32:46 +00:00
|
|
|
EXTRA_DIST = gst-plugins-base.supp
|