mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
58c3c18b93
Original commit message from CVS: * gst/gst.defs: * gst/gst.override: * gst/gstbin.override: deprecate add_many/remove_many, fold into add/remove * gst/gstmodule.c: (init_gst): add AddError and RemoveError * testsuite/Makefile.am: remove fatal warnings, until we can wrap log handlers and catch our expected add/remove errors * testsuite/test_bin.py: add tests for new add/remove semantics * testsuite/test_pad.py: * testsuite/test_pipeline.py: fix up
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
INCLUDES = \
|
|
$(PYTHON_INCLUDES) \
|
|
$(PYGTK_CFLAGS) \
|
|
$(PYGST_CFLAGS) \
|
|
$(GST_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = testhelper.la
|
|
linked_LIBS = testhelper.la
|
|
|
|
testhelper_la_LDFLAGS = -module -avoid-version
|
|
testhelper_la_LIBADD = $(GLIB_LIBS)
|
|
testhelper_la_SOURCES = \
|
|
testhelpermodule.c \
|
|
test-object.c
|
|
|
|
# This is a hack to make sure a shared library is built
|
|
testhelper.la: $(testhelper_la_OBJECTS) $(testhelper_la_DEPENDENCIES)
|
|
$(LINK) -rpath $(pkgpyexecdir) $(testhelper_la_LDFLAGS) $(testhelper_la_OBJECTS) $(testhelper_la_LIBADD) $(LIBS)
|
|
|
|
tests = \
|
|
test_bin.py \
|
|
test_buffer.py \
|
|
test_caps.py \
|
|
test_element.py \
|
|
test_event.py \
|
|
test_interface.py \
|
|
test_pad.py \
|
|
test_pipeline.py \
|
|
test_registry.py \
|
|
test_struct.py \
|
|
test_xml.py
|
|
|
|
check-local: testhelper.la
|
|
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py
|
|
@rm -fr *.pyc
|
|
|
|
check-verbose: testhelper.la
|
|
@VERBOSE=yes PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py
|
|
@rm -fr *.pyc
|
|
|
|
EXTRA_DIST = $(tests) common.py runtests.py test-object.h
|
|
|