2006-05-09 16:15:39 +00:00
|
|
|
include $(top_srcdir)/common/check.mak
|
|
|
|
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
2009-07-28 22:21:11 +00:00
|
|
|
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
|
2006-05-09 16:15:39 +00:00
|
|
|
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
2009-07-28 22:21:11 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/../gst-plugins-good/gst:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
|
2006-05-09 16:15:39 +00:00
|
|
|
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
|
2006-05-09 16:18:17 +00:00
|
|
|
check_PROGRAMS = \
|
2009-04-17 12:46:39 +00:00
|
|
|
generic/plugin-test \
|
2009-07-28 22:21:11 +00:00
|
|
|
generic/libavcodec-locking \
|
2012-04-12 17:41:52 +00:00
|
|
|
elements/avdec_adpcm \
|
2012-09-10 15:18:30 +00:00
|
|
|
elements/avdemux_ape
|
2006-12-15 13:58:17 +00:00
|
|
|
|
2006-05-09 16:18:17 +00:00
|
|
|
VALGRIND_TO_FIX = \
|
2009-04-17 12:46:39 +00:00
|
|
|
generic/plugin-test \
|
2009-07-28 22:21:11 +00:00
|
|
|
generic/libavcodec-locking \
|
2012-04-12 17:41:52 +00:00
|
|
|
elements/avdemux_ape
|
2006-05-09 16:15:39 +00:00
|
|
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
|
|
|
|
# these tests don't even pass
|
|
|
|
noinst_PROGRAMS =
|
|
|
|
|
2009-07-28 22:21:11 +00:00
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
|
2011-10-30 12:23:51 +00:00
|
|
|
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
|
|
|
-DGST_USE_UNSTABLE_API
|
2009-07-28 22:21:11 +00:00
|
|
|
|
2006-05-09 16:15:39 +00:00
|
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
|
|
|
|
# valgrind testing
|
|
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
|
|
|
|
2012-04-12 17:41:52 +00:00
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-libav.supp
|
2006-05-09 16:15:39 +00:00
|
|
|
|
2012-04-12 17:41:52 +00:00
|
|
|
EXTRA_DIST = gst-libav.supp
|