2004-11-23 10:16:58 +00:00
|
|
|
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)
|
|
|
|
|
2004-03-09 14:48:03 +00:00
|
|
|
tests = \
|
2004-11-23 16:22:08 +00:00
|
|
|
test_buffer.py \
|
|
|
|
test_caps.py \
|
|
|
|
test_element.py \
|
2004-11-23 10:16:58 +00:00
|
|
|
test_event.py \
|
2004-11-23 16:22:08 +00:00
|
|
|
test_interface.py \
|
|
|
|
test_pad.py \
|
|
|
|
test_pipeline.py \
|
2005-01-10 17:29:47 +00:00
|
|
|
test_probe.py \
|
2004-11-23 16:22:08 +00:00
|
|
|
test_registry.py \
|
|
|
|
test_struct.py \
|
2004-11-05 17:43:05 +00:00
|
|
|
test_xml.py
|
2003-10-04 13:37:45 +00:00
|
|
|
|
2004-11-23 10:16:58 +00:00
|
|
|
check-local: testhelper.la
|
2005-06-17 10:59:47 +00:00
|
|
|
@G_DEBUG=fatal_warnings GST_DEBUG=*:0 PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py
|
2004-03-09 14:48:03 +00:00
|
|
|
@rm -fr *.pyc
|
2003-10-04 13:37:45 +00:00
|
|
|
|
2004-11-23 16:22:08 +00:00
|
|
|
EXTRA_DIST = $(tests) common.py runtests.py test-object.h
|
2004-11-23 10:16:58 +00:00
|
|
|
|