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 = \
|
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
|
|
GST_PLUGIN_PATH_ONLY=yes \
|
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):
|
|
|
|
$(TESTS_ENVIRONMENT) \
|
|
|
|
$(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
TESTS = $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@ \
|
|
|
|
$(check_PROGRAMS)
|
|
|
|
|
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_vorbis)
|
2005-08-20 18:07:10 +00:00
|
|
|
|
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
|
|
|
|
VALGRIND_TESTS_DISABLE = \
|
|
|
|
$(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|