various more tests enabling

Original commit message from CVS:
various more tests enabling
This commit is contained in:
Thomas Vander Stichele 2002-05-09 16:44:22 +00:00
parent 2b51cbeebd
commit 6b8e279df3
8 changed files with 18 additions and 14 deletions

View file

@ -1,5 +1,5 @@
# FIXME : refcounting threads bytestream cleanup
SUBDIRS = . caps plugin elements clock ## dynparams
# FIXME : refcounting threads bytestream
SUBDIRS = caps cleanup plugin elements clock refcounting ## dynparams
GST_PLUGIN_PATH = $(shell cd $(top_builddir) && pwd)
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(GST_PLUGIN_PATH) GST_REGISTRY=`pwd`/test-registry.xml
@ -15,6 +15,7 @@ LIBS = $(GST_LIBS)
CFLAGS = $(GST_CFLAGS)
# FIXME : refcounting threadds
DIST_SUBDIRS = caps plugin bytestream cleanup elements dynparams clock
DIST_SUBDIRS = bytestream caps cleanup clock dynparams elements \
plugin refcounting
EXTRA_DIST = gst-inspect-check

View file

@ -7,7 +7,6 @@ TESTS = $(testprogs)
check_PROGRAMS = $(testprogs)
# we have nothing but apps here, we can do this safely
intersection_LDADD = $(GST_LIBS)
intersection_CFLAGS = $(GST_CFLAGS) $(GNOME_CFLAGS) $(XML_CFLAGS)
compatibility_LDADD = $(GST_LIBS)

View file

@ -1,9 +1,9 @@
if BUILD_FAILING_TESTS
tests_failing = tee
tests_failing =
else
tests_failing =
endif
tests_working = fake name
tests_working = fake name tee
## GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)

View file

@ -46,6 +46,7 @@ main (int argc, char *argv[])
GstCaps *src_caps = NULL;
GstCaps *sink_caps = NULL;
GstProps *props = NULL;
GstPad *pad = NULL;
/* init */
gst_init (&argc, &argv);
@ -107,7 +108,8 @@ main (int argc, char *argv[])
);
g_assert (src_caps != NULL);
g_print ("Setting caps on fakesrc's src pad\n");
if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), src_caps)))
pad = gst_element_get_pad (src, "src");
if (! (gst_pad_try_set_caps (pad, src_caps)))
{
g_print ("Could not set caps !\n");
}

View file

@ -1,5 +1,5 @@
# FIXME : refcounting threads bytestream cleanup
SUBDIRS = . caps plugin elements clock ## dynparams
# FIXME : refcounting threads bytestream
SUBDIRS = caps cleanup plugin elements clock refcounting ## dynparams
GST_PLUGIN_PATH = $(shell cd $(top_builddir) && pwd)
TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(GST_PLUGIN_PATH) GST_REGISTRY=`pwd`/test-registry.xml
@ -15,6 +15,7 @@ LIBS = $(GST_LIBS)
CFLAGS = $(GST_CFLAGS)
# FIXME : refcounting threadds
DIST_SUBDIRS = caps plugin bytestream cleanup elements dynparams clock
DIST_SUBDIRS = bytestream caps cleanup clock dynparams elements \
plugin refcounting
EXTRA_DIST = gst-inspect-check

View file

@ -7,7 +7,6 @@ TESTS = $(testprogs)
check_PROGRAMS = $(testprogs)
# we have nothing but apps here, we can do this safely
intersection_LDADD = $(GST_LIBS)
intersection_CFLAGS = $(GST_CFLAGS) $(GNOME_CFLAGS) $(XML_CFLAGS)
compatibility_LDADD = $(GST_LIBS)

View file

@ -1,9 +1,9 @@
if BUILD_FAILING_TESTS
tests_failing = tee
tests_failing =
else
tests_failing =
endif
tests_working = fake name
tests_working = fake name tee
## GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)

View file

@ -46,6 +46,7 @@ main (int argc, char *argv[])
GstCaps *src_caps = NULL;
GstCaps *sink_caps = NULL;
GstProps *props = NULL;
GstPad *pad = NULL;
/* init */
gst_init (&argc, &argv);
@ -107,7 +108,8 @@ main (int argc, char *argv[])
);
g_assert (src_caps != NULL);
g_print ("Setting caps on fakesrc's src pad\n");
if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), src_caps)))
pad = gst_element_get_pad (src, "src");
if (! (gst_pad_try_set_caps (pad, src_caps)))
{
g_print ("Could not set caps !\n");
}