mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
Original commit message from CVS: * check/.cvsignore: * check/Makefile.am: * check/gst-libs/.cvsignore: * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main): * check/gst/.cvsignore: * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages), (START_TEST), (gstbus_suite), (main): * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main): * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref), (gst_data_suite), (main): * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST), (add_fold_func), (gstiterator_suite), (main): * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST), (thread_name_object), (thread_name_object_default), (gst_object_name_compare), (gst_object_suite), (main): * check/gst/gstpad.c: (START_TEST), (thread_link_unlink), (gst_pad_suite), (main): * check/gstcheck.c: (gst_check_log_message_func), (gst_check_log_critical_func), (gst_check_init): * check/gstcheck.h: * check/pipelines/simple_launch_lines.c: (setup_pipeline), (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main): Added checks.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
TESTS_ENVIRONMENT=\
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/check \
|
|
GST_REGISTRY=$(top_builddir)/check/test-registry.xml
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
# make all tests depend on the versioned gst-register
|
|
$(TESTS): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@
|
|
|
|
# rebuild gst-register-@GST_MAJORMINOR@ if needed
|
|
$(top_builddir)/tools/gst-register-@GST_MAJORMINOR@:
|
|
cd $(top_builddir)/tools && make
|
|
|
|
# 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.*
|
|
|
|
TESTS = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ \
|
|
gst/gstcaps \
|
|
gst/gstdata \
|
|
gst/gstiterator \
|
|
gst/gstobject \
|
|
gst-libs/gdp
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
noinst_LTLIBRARIES = libgstcheck.la
|
|
|
|
libgstcheck_la_SOURCES = gstcheck.c
|
|
libgstcheck_la_LIBADD = $(GST_OBJ_LIBS)
|
|
noinst_HEADERS = gstcheck.h
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(CHECK_LIBS) libgstcheck.la
|
|
|
|
gst_libs_gdp_SOURCES = \
|
|
gst-libs/gdp.c \
|
|
$(top_srcdir)/libs/gst/dataprotocol/dataprotocol.c
|
|
# remove GST_ENABLE_NEW when dataprotocol has been declared API-stable
|
|
gst_libs_gdp_CFLAGS = $(AM_CFLAGS) -DGST_ENABLE_NEW
|