mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
1f0374782c
Original commit message from CVS: * fix refcounting tests so that they compile and run, but they fail currently: gst leaks obscene amounts of memory ;) * fix plugin loading test so that it only refers to plugins within the gstreamer/ tree * store gst plugin paths in the registry * is GST_REGISTRY is set, only use the user registry with the PLUGIN_PATH explictly specified by the user * all tests should pass now except refcounting
28 lines
640 B
Makefile
28 lines
640 B
Makefile
if BUILD_FAILING_TESTS
|
|
tests_failing = element bin element_pad pad
|
|
else
|
|
tests_failing =
|
|
endif
|
|
tests_working =
|
|
|
|
element_SOURCES = element.c mem.c
|
|
pad_SOURCES = pad.c mem.c
|
|
|
|
element_pad_SOURCES = element_pad.c mem.c
|
|
bin_SOURCES = bin.c mem.c
|
|
|
|
GST_PLUGIN_PATH = $(shell cd $(top_builddir) && pwd)
|
|
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(GST_PLUGIN_PATH) GST_REGISTRY=`pwd`/test-registry.xml
|
|
|
|
TESTS = $(tests_failing) $(tests_working)
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
EXTRA_DIST = thread.c object.c
|
|
|
|
noinst_HEADERS = mem.h
|
|
|
|
# we have nothing but apps here, we can do this safely
|
|
LIBS = $(GST_LIBS)
|
|
CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
|
|
|