2003-10-15 01:25:41 +00:00
|
|
|
|
|
|
|
TESTS_ENVIRONMENT=\
|
|
|
|
G_DEBUG=fatal_warnings \
|
2003-11-19 22:59:19 +00:00
|
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:. \
|
2003-10-15 01:25:41 +00:00
|
|
|
GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
|
|
|
|
|
|
|
|
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
|
2004-03-15 17:57:22 +00:00
|
|
|
check_PROGRAMS = $(tests_pass) $(tests_fail)
|
2003-10-15 01:25:41 +00:00
|
|
|
|
2004-03-15 16:54:28 +00:00
|
|
|
# make all tests depend on the versioned gst-register
|
|
|
|
$(tests_pass) $(tests_fail): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
# rebuild gst-register-@GST_MAJORMINOR@ if needed
|
2004-03-15 16:59:53 +00:00
|
|
|
# the EXEEXT is because am 1.6 complained about overrides
|
|
|
|
$(top_builddir)/tools/gst-register-@GST_MAJORMINOR@$(EXEEXT):
|
2004-03-15 16:54:28 +00:00
|
|
|
cd $(top_builddir)/tools && make
|
|
|
|
|
2004-03-15 17:57:22 +00:00
|
|
|
TESTS = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ \
|
|
|
|
$(tests_pass) $(tests_fail)
|
2003-10-15 01:25:41 +00:00
|
|
|
XFAIL_TESTS = $(tests_fail)
|
|
|
|
|
|
|
|
AM_CFLAGS = $(GST_CFLAGS)
|
|
|
|
LIBS = $(GST_LIBS)
|
|
|
|
|
|
|
|
# override to _not_ install the test plugins
|
|
|
|
install-pluginLTLIBRARIES:
|
|
|
|
|
|
|
|
# This rule is here so make distcheck works on machines where core
|
|
|
|
# dumps have PIDs appended
|
|
|
|
CLEANFILES = core.*
|
|
|
|
|