mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 05:46:36 +00:00
d7f4c306cd
Original commit message from CVS: Fix the tests so that builds that are not --enable-plugin-builddir can register the plugins from the uninstalled gstreamer directory. There is some small amount of voodoo here. Also, add gst-inspect-check to gstreamer/testsuite, where it probably belongs
26 lines
786 B
Makefile
26 lines
786 B
Makefile
GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)
|
|
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(GST_PLUGIN_PATH) GST_REGISTRY=$(GST_PLUGIN_PATH)/testsuite/test-registry.xml
|
|
|
|
# FIXME : tests need fixing
|
|
testprogs = static # dynamic linked loading registry static2
|
|
# filterdir = $(libdir)/gst
|
|
|
|
AM_CFLAGS = $(GST_CFLAGS)
|
|
LIBS = $(GST_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
|
|
|
libtestplugin_la_SOURCES = testplugin.c
|
|
libtestplugin_la_CFLAGS = $(GST_CFLAGS)
|
|
libtestplugin_la_LIBS = $(GST_LIBS)
|
|
libtestplugin2_la_SOURCES = testplugin2.c
|
|
libtestplugin2_la_CFLAGS = $(GST_CFLAGS)
|
|
libtestplugin2_la_LIBS = $(GST_LIBS)
|
|
|
|
# linked_LDFLAGS = -L. -ltestplugin -ltestplugin2
|
|
|
|
static_SOURCES = static.c testplugin_s.c testplugin2_s.c
|
|
|
|
TESTS = $(testprogs)
|
|
|
|
check_PROGRAMS = $(testprogs)
|