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
|
|
|
|
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
|
|
|
|
|
2005-12-29 11:49:11 +00:00
|
|
|
check_PROGRAMS = $(check_vorbis) \
|
2006-01-30 17:01:54 +00:00
|
|
|
$(check_theora) \
|
2005-08-25 17:20:02 +00:00
|
|
|
elements/audioconvert \
|
|
|
|
elements/audioresample \
|
2005-11-23 11:52:48 +00:00
|
|
|
elements/audiotestsrc \
|
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 \
|
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 = \
|
|
|
|
elements/audioresample \
|
2005-11-21 22:56:33 +00:00
|
|
|
generic/states \
|
2005-12-29 11:49:11 +00:00
|
|
|
libs/cddabasesrc \
|
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
|
|
|
|
|
|
|
EXTRA_DIST = gst-plugins-base.supp
|