mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
fold enumcaps into caps/; clean up Makefile.am files
Original commit message from CVS: fold enumcaps into caps/; clean up Makefile.am files
This commit is contained in:
parent
5d7d124f9c
commit
cc62cef6fa
46 changed files with 50 additions and 397 deletions
28
ChangeLog
28
ChangeLog
|
@ -1,3 +1,31 @@
|
||||||
|
2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
* testsuite/Makefile.am:
|
||||||
|
* testsuite/bins/Makefile.am:
|
||||||
|
* testsuite/caps/Makefile.am:
|
||||||
|
* testsuite/cleanup/Makefile.am:
|
||||||
|
* testsuite/clock/Makefile.am:
|
||||||
|
* testsuite/debug/Makefile.am:
|
||||||
|
* testsuite/dlopen/Makefile.am:
|
||||||
|
* testsuite/dynparams/Makefile.am:
|
||||||
|
* testsuite/elements/.cvsignore:
|
||||||
|
* testsuite/elements/Makefile.am:
|
||||||
|
* testsuite/enumcaps/Makefile.am:
|
||||||
|
* testsuite/enumcaps/enumcaps.c:
|
||||||
|
* testsuite/ghostpads/Makefile.am:
|
||||||
|
* testsuite/indexers/Makefile.am:
|
||||||
|
* testsuite/negotiation/Makefile.am:
|
||||||
|
* testsuite/parse/Makefile.am:
|
||||||
|
* testsuite/plugin/Makefile.am:
|
||||||
|
* testsuite/refcounting/Makefile.am:
|
||||||
|
* testsuite/schedulers/.cvsignore:
|
||||||
|
* testsuite/states/Makefile.am:
|
||||||
|
* testsuite/tags/Makefile.am:
|
||||||
|
* testsuite/threads/Makefile.am:
|
||||||
|
fold enumcaps into caps dir
|
||||||
|
clean up Makefile.am's for testsuite
|
||||||
|
|
||||||
2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* docs/gst/Makefile.am:
|
* docs/gst/Makefile.am:
|
||||||
|
|
|
@ -672,7 +672,6 @@ testsuite/debug/Makefile
|
||||||
testsuite/dlopen/Makefile
|
testsuite/dlopen/Makefile
|
||||||
testsuite/dynparams/Makefile
|
testsuite/dynparams/Makefile
|
||||||
testsuite/elements/Makefile
|
testsuite/elements/Makefile
|
||||||
testsuite/enumcaps/Makefile
|
|
||||||
testsuite/ghostpads/Makefile
|
testsuite/ghostpads/Makefile
|
||||||
testsuite/indexers/Makefile
|
testsuite/indexers/Makefile
|
||||||
testsuite/negotiation/Makefile
|
testsuite/negotiation/Makefile
|
||||||
|
|
|
@ -17,7 +17,7 @@ SUBDIRS = \
|
||||||
bins bytestream caps cleanup clock \
|
bins bytestream caps cleanup clock \
|
||||||
$(GST_DEBUG_DIRS) \
|
$(GST_DEBUG_DIRS) \
|
||||||
dlopen dynparams \
|
dlopen dynparams \
|
||||||
elements enumcaps ghostpads indexers negotiation \
|
elements ghostpads indexers negotiation \
|
||||||
$(GST_PARSE_DIRS) \
|
$(GST_PARSE_DIRS) \
|
||||||
plugin refcounting schedulers states tags threads
|
plugin refcounting schedulers states tags threads
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = interface
|
tests_pass = interface
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
interface_SOURCES = interface.c
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
||||||
tests_pass = \
|
tests_pass = \
|
||||||
app_fixate \
|
app_fixate \
|
||||||
|
enumcaps \
|
||||||
intersection \
|
intersection \
|
||||||
compatibility \
|
compatibility \
|
||||||
deserialize \
|
deserialize \
|
||||||
|
@ -34,36 +34,3 @@ noinst_HEADERS = \
|
||||||
|
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
app_fixate_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
app_fixate_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
intersection_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
intersection_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
compatibility_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
compatibility_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
deserialize_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
deserialize_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
normalisation_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
normalisation_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
union_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
union_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
string_conversions_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
string_conversions_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
fixed_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
fixed_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
intersect2_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
intersect2_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
filtercaps_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
filtercaps_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
eratosthenes_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
ersthostenes_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
subtract_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
subtract_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
sets_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
sets_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
simplify_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
simplify_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
renegotiate_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
renegotiate_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
random_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
random_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
|
|
|
@ -5,15 +5,3 @@ tests_fail =
|
||||||
|
|
||||||
# cleanup3 fails depending on the machine
|
# cleanup3 fails depending on the machine
|
||||||
tests_ignore = cleanup3
|
tests_ignore = cleanup3
|
||||||
|
|
||||||
# we have nothing but apps here, we can do this safely
|
|
||||||
cleanup1_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup1_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup2_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup2_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
#cleanup3_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
#cleanup3_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup4_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup4_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup5_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup5_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ include ../Rules
|
||||||
tests_pass = signedness clock1 clock2
|
tests_pass = signedness clock1 clock2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,4 @@ include ../Rules
|
||||||
|
|
||||||
tests_pass = commandline category output printf_extension
|
tests_pass = commandline category output printf_extension
|
||||||
tests_fail =
|
tests_fail =
|
||||||
|
|
||||||
tests_ignore = global
|
tests_ignore = global
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# ../Rules is not included because we specifically don't want the normal
|
||||||
|
# AM_CFLAGS, etc.
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libloadgst.la
|
plugin_LTLIBRARIES = libloadgst.la
|
||||||
|
|
||||||
|
@ -9,15 +11,10 @@ libloadgst_la_SOURCES = loadgst.c
|
||||||
libloadgst_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libloadgst_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libloadgst_la_LDFLAGS = -module -avoid-version $(GST_OBJ_LIBS)
|
libloadgst_la_LDFLAGS = -module -avoid-version $(GST_OBJ_LIBS)
|
||||||
|
|
||||||
dlopen_gst_SOURCES = dlopen_gst.c
|
|
||||||
dlopen_gst_CFLAGS = $(GLIB_CFLAGS)
|
dlopen_gst_CFLAGS = $(GLIB_CFLAGS)
|
||||||
dlopen_gst_LDFLAGS = $(GLIB_LIBS)
|
dlopen_gst_LDFLAGS = $(GLIB_LIBS)
|
||||||
|
|
||||||
|
TESTS_ENVIRONMENT= \
|
||||||
# ../Rules is included because we specifically don't want the normal
|
|
||||||
# AM_CFLAGS, etc.
|
|
||||||
|
|
||||||
TESTS_ENVIRONMENT=\
|
|
||||||
G_DEBUG=fatal_warnings \
|
G_DEBUG=fatal_warnings \
|
||||||
GST_PLUGIN_PATH=$(top_builddir)/gst:. \
|
GST_PLUGIN_PATH=$(top_builddir)/gst:. \
|
||||||
GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
|
GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
|
||||||
|
@ -42,4 +39,3 @@ install-pluginLTLIBRARIES:
|
||||||
# This rule is here so make distcheck works on machines where core
|
# This rule is here so make distcheck works on machines where core
|
||||||
# dumps have PIDs appended
|
# dumps have PIDs appended
|
||||||
CLEANFILES = core.*
|
CLEANFILES = core.*
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,4 @@ tests_pass = dparamstest
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
dparamstest_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
||||||
dparamstest_LDFLAGS = $(GST_OBJ_LIBS)
|
|
||||||
dparamstest_LDADD = $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
dparamstest_LDADD = $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
||||||
|
|
||||||
dparamstest_SOURCES = dparamstest.c
|
|
||||||
|
|
2
tests/old/testsuite/elements/.gitignore
vendored
2
tests/old/testsuite/elements/.gitignore
vendored
|
@ -12,4 +12,4 @@ property
|
||||||
tee
|
tee
|
||||||
gst-inspect-check
|
gst-inspect-check
|
||||||
gst-compprep-check
|
gst-compprep-check
|
||||||
|
static
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
||||||
# disable gst-compprep-check until it doesn't leave stray files for distcheck
|
# disable gst-compprep-check until it doesn't leave stray files for distcheck
|
||||||
tests_pass = name tee property fake gst-inspect-check
|
tests_pass = name tee property fake gst-inspect-check
|
||||||
tests_fail =
|
tests_fail =
|
||||||
|
@ -8,7 +7,6 @@ tests_ignore =
|
||||||
|
|
||||||
noinst_HEADERS = property.h
|
noinst_HEADERS = property.h
|
||||||
|
|
||||||
|
|
||||||
gst_inspect_check_SOURCES =
|
gst_inspect_check_SOURCES =
|
||||||
gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
||||||
sed s/@[G]ST_MAJORMINOR@/@GST_MAJORMINOR@/ \
|
sed s/@[G]ST_MAJORMINOR@/@GST_MAJORMINOR@/ \
|
||||||
|
@ -20,4 +18,3 @@ gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
||||||
# cp $(srcdir)/gst-compprep-check.in gst-compprep-check$(EXEEXT)
|
# cp $(srcdir)/gst-compprep-check.in gst-compprep-check$(EXEEXT)
|
||||||
|
|
||||||
EXTRA_DIST = gst-inspect-check.in gst-compprep-check.in
|
EXTRA_DIST = gst-inspect-check.in gst-compprep-check.in
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
include ../Rules
|
|
||||||
|
|
||||||
tests_pass = enumcaps
|
|
||||||
tests_fail =
|
|
||||||
tests_ignore =
|
|
||||||
|
|
||||||
|
|
|
@ -1,95 +0,0 @@
|
||||||
/* GStreamer test
|
|
||||||
* (c) 2004 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
TEST_YES,
|
|
||||||
TEST_NO
|
|
||||||
}
|
|
||||||
TestBool;
|
|
||||||
|
|
||||||
#define TEST_BOOL_TYPE (test_bool_get_type ())
|
|
||||||
GType
|
|
||||||
test_bool_get_type (void)
|
|
||||||
{
|
|
||||||
static GType etype = 0;
|
|
||||||
|
|
||||||
if (etype == 0) {
|
|
||||||
static const GEnumValue values[] = {
|
|
||||||
{TEST_YES, "TEST_YES", "yes"},
|
|
||||||
{TEST_NO, "TEST_NO", "no"},
|
|
||||||
{0, NULL, NULL}
|
|
||||||
};
|
|
||||||
|
|
||||||
etype = g_enum_register_static ("TestBool", values);
|
|
||||||
}
|
|
||||||
return etype;
|
|
||||||
}
|
|
||||||
|
|
||||||
gint
|
|
||||||
main (gint argc, gchar * argv[])
|
|
||||||
{
|
|
||||||
gchar *str;
|
|
||||||
GstCaps *caps, *res_caps;
|
|
||||||
GstStructure *strc;
|
|
||||||
GValue value = { 0 };
|
|
||||||
TestBool yes, no;
|
|
||||||
|
|
||||||
/* register multichannel type */
|
|
||||||
gst_init (&argc, &argv);
|
|
||||||
test_bool_get_type ();
|
|
||||||
|
|
||||||
/* test some caps */
|
|
||||||
caps = gst_caps_new_simple ("application/x-gst-test", NULL);
|
|
||||||
str = gst_caps_to_string (caps);
|
|
||||||
g_assert (str);
|
|
||||||
g_free (str);
|
|
||||||
|
|
||||||
/* set enums in list */
|
|
||||||
strc = gst_caps_get_structure (caps, 0);
|
|
||||||
g_value_init (&value, TEST_BOOL_TYPE);
|
|
||||||
g_value_set_enum (&value, TEST_YES);
|
|
||||||
gst_structure_set_value (strc, "yes", &value);
|
|
||||||
g_value_set_enum (&value, TEST_NO);
|
|
||||||
gst_structure_set_value (strc, "no", &value);
|
|
||||||
g_value_unset (&value);
|
|
||||||
|
|
||||||
/* test to-/from-string conversions for enums */
|
|
||||||
str = gst_caps_to_string (caps);
|
|
||||||
g_assert (str);
|
|
||||||
res_caps = gst_caps_from_string (str);
|
|
||||||
g_free (str);
|
|
||||||
|
|
||||||
/* see if all worked */
|
|
||||||
strc = gst_caps_get_structure (res_caps, 0);
|
|
||||||
yes = g_value_get_enum (gst_structure_get_value (strc, "yes"));
|
|
||||||
no = g_value_get_enum (gst_structure_get_value (strc, "no"));
|
|
||||||
g_assert (yes == TEST_YES && no == TEST_NO);
|
|
||||||
gst_caps_free (caps);
|
|
||||||
gst_caps_free (res_caps);
|
|
||||||
|
|
||||||
/* yes */
|
|
||||||
return 0;
|
|
||||||
}
|
|
|
@ -3,6 +3,3 @@ include ../Rules
|
||||||
tests_pass = ghostpads
|
tests_pass = ghostpads
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
ghostpads_SOURCES = ghostpads.c
|
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = cache1 indexdump
|
tests_pass = cache1 indexdump
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = pad_link
|
tests_pass = pad_link
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,3 @@ include ../Rules
|
||||||
tests_pass = parse1 parse2
|
tests_pass = parse1 parse2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
parse1_SOURCES = parse1.c
|
|
||||||
parse2_SOURCES = parse2.c
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
||||||
|
@ -7,7 +6,6 @@ tests_pass = dynamic linked loading registry static static2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
libtestplugin_la_SOURCES = testplugin.c
|
libtestplugin_la_SOURCES = testplugin.c
|
||||||
libtestplugin_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libtestplugin_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libtestplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libtestplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
@ -16,6 +14,3 @@ libtestplugin2_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
linked_LIBS = libtestplugin.la libtestplugin2.la
|
linked_LIBS = libtestplugin.la libtestplugin2.la
|
||||||
|
|
||||||
static_SOURCES = static.c
|
|
||||||
|
|
||||||
|
|
|
@ -12,5 +12,3 @@ bin_SOURCES = bin.c mem.c
|
||||||
EXTRA_DIST = thread.c object.c
|
EXTRA_DIST = thread.c object.c
|
||||||
|
|
||||||
noinst_HEADERS = mem.h
|
noinst_HEADERS = mem.h
|
||||||
|
|
||||||
|
|
||||||
|
|
5
tests/old/testsuite/schedulers/.gitignore
vendored
5
tests/old/testsuite/schedulers/.gitignore
vendored
|
@ -7,3 +7,8 @@ unref_src
|
||||||
useless_iteration
|
useless_iteration
|
||||||
143777
|
143777
|
||||||
143777-2
|
143777-2
|
||||||
|
142183
|
||||||
|
142183-2
|
||||||
|
147713
|
||||||
|
147819
|
||||||
|
147894
|
||||||
|
|
|
@ -3,8 +3,3 @@ include ../Rules
|
||||||
tests_pass = locked parent bin
|
tests_pass = locked parent bin
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
locked_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
locked_CFLAGS = $(GST_OBJ_CFLAGS) $(GNOME_CFLAGS) $(XML_CFLAGS)
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@ include ../Rules
|
||||||
tests_pass = merge
|
tests_pass = merge
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
merge_SOURCES = merge.c
|
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@ tests_fail = thread5 threadd threadg
|
||||||
|
|
||||||
tests_ignore = queue threade threadb threadc
|
tests_ignore = queue threade threadb threadc
|
||||||
|
|
||||||
queue_SOURCES = queue.c
|
|
||||||
queue_CFLAGS = $(AM_CFLAGS)
|
|
||||||
|
|
||||||
thread1_SOURCES = thread.c
|
thread1_SOURCES = thread.c
|
||||||
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
||||||
thread2_SOURCES = thread.c
|
thread2_SOURCES = thread.c
|
||||||
|
|
|
@ -17,7 +17,7 @@ SUBDIRS = \
|
||||||
bins bytestream caps cleanup clock \
|
bins bytestream caps cleanup clock \
|
||||||
$(GST_DEBUG_DIRS) \
|
$(GST_DEBUG_DIRS) \
|
||||||
dlopen dynparams \
|
dlopen dynparams \
|
||||||
elements enumcaps ghostpads indexers negotiation \
|
elements ghostpads indexers negotiation \
|
||||||
$(GST_PARSE_DIRS) \
|
$(GST_PARSE_DIRS) \
|
||||||
plugin refcounting schedulers states tags threads
|
plugin refcounting schedulers states tags threads
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = interface
|
tests_pass = interface
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
interface_SOURCES = interface.c
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
||||||
tests_pass = \
|
tests_pass = \
|
||||||
app_fixate \
|
app_fixate \
|
||||||
|
enumcaps \
|
||||||
intersection \
|
intersection \
|
||||||
compatibility \
|
compatibility \
|
||||||
deserialize \
|
deserialize \
|
||||||
|
@ -34,36 +34,3 @@ noinst_HEADERS = \
|
||||||
|
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
app_fixate_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
app_fixate_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
intersection_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
intersection_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
compatibility_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
compatibility_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
deserialize_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
deserialize_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
normalisation_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
normalisation_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
union_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
union_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
string_conversions_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
string_conversions_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
fixed_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
fixed_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
intersect2_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
intersect2_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
filtercaps_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
filtercaps_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
eratosthenes_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
ersthostenes_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
subtract_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
subtract_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
sets_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
sets_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
simplify_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
simplify_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
renegotiate_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
renegotiate_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
random_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
random_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS)
|
|
||||||
|
|
|
@ -5,15 +5,3 @@ tests_fail =
|
||||||
|
|
||||||
# cleanup3 fails depending on the machine
|
# cleanup3 fails depending on the machine
|
||||||
tests_ignore = cleanup3
|
tests_ignore = cleanup3
|
||||||
|
|
||||||
# we have nothing but apps here, we can do this safely
|
|
||||||
cleanup1_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup1_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup2_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup2_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
#cleanup3_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
#cleanup3_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup4_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup4_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
cleanup5_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
cleanup5_CFLAGS = $(GST_OBJ_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS)
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ include ../Rules
|
||||||
tests_pass = signedness clock1 clock2
|
tests_pass = signedness clock1 clock2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,4 @@ include ../Rules
|
||||||
|
|
||||||
tests_pass = commandline category output printf_extension
|
tests_pass = commandline category output printf_extension
|
||||||
tests_fail =
|
tests_fail =
|
||||||
|
|
||||||
tests_ignore = global
|
tests_ignore = global
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# ../Rules is not included because we specifically don't want the normal
|
||||||
|
# AM_CFLAGS, etc.
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libloadgst.la
|
plugin_LTLIBRARIES = libloadgst.la
|
||||||
|
|
||||||
|
@ -9,15 +11,10 @@ libloadgst_la_SOURCES = loadgst.c
|
||||||
libloadgst_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libloadgst_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libloadgst_la_LDFLAGS = -module -avoid-version $(GST_OBJ_LIBS)
|
libloadgst_la_LDFLAGS = -module -avoid-version $(GST_OBJ_LIBS)
|
||||||
|
|
||||||
dlopen_gst_SOURCES = dlopen_gst.c
|
|
||||||
dlopen_gst_CFLAGS = $(GLIB_CFLAGS)
|
dlopen_gst_CFLAGS = $(GLIB_CFLAGS)
|
||||||
dlopen_gst_LDFLAGS = $(GLIB_LIBS)
|
dlopen_gst_LDFLAGS = $(GLIB_LIBS)
|
||||||
|
|
||||||
|
TESTS_ENVIRONMENT= \
|
||||||
# ../Rules is included because we specifically don't want the normal
|
|
||||||
# AM_CFLAGS, etc.
|
|
||||||
|
|
||||||
TESTS_ENVIRONMENT=\
|
|
||||||
G_DEBUG=fatal_warnings \
|
G_DEBUG=fatal_warnings \
|
||||||
GST_PLUGIN_PATH=$(top_builddir)/gst:. \
|
GST_PLUGIN_PATH=$(top_builddir)/gst:. \
|
||||||
GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
|
GST_REGISTRY=$(top_builddir)/testsuite/test-registry.xml
|
||||||
|
@ -42,4 +39,3 @@ install-pluginLTLIBRARIES:
|
||||||
# This rule is here so make distcheck works on machines where core
|
# This rule is here so make distcheck works on machines where core
|
||||||
# dumps have PIDs appended
|
# dumps have PIDs appended
|
||||||
CLEANFILES = core.*
|
CLEANFILES = core.*
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,4 @@ tests_pass = dparamstest
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
dparamstest_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
||||||
dparamstest_LDFLAGS = $(GST_OBJ_LIBS)
|
|
||||||
dparamstest_LDADD = $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
dparamstest_LDADD = $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
||||||
|
|
||||||
dparamstest_SOURCES = dparamstest.c
|
|
||||||
|
|
2
testsuite/elements/.gitignore
vendored
2
testsuite/elements/.gitignore
vendored
|
@ -12,4 +12,4 @@ property
|
||||||
tee
|
tee
|
||||||
gst-inspect-check
|
gst-inspect-check
|
||||||
gst-compprep-check
|
gst-compprep-check
|
||||||
|
static
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
||||||
# disable gst-compprep-check until it doesn't leave stray files for distcheck
|
# disable gst-compprep-check until it doesn't leave stray files for distcheck
|
||||||
tests_pass = name tee property fake gst-inspect-check
|
tests_pass = name tee property fake gst-inspect-check
|
||||||
tests_fail =
|
tests_fail =
|
||||||
|
@ -8,7 +7,6 @@ tests_ignore =
|
||||||
|
|
||||||
noinst_HEADERS = property.h
|
noinst_HEADERS = property.h
|
||||||
|
|
||||||
|
|
||||||
gst_inspect_check_SOURCES =
|
gst_inspect_check_SOURCES =
|
||||||
gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
||||||
sed s/@[G]ST_MAJORMINOR@/@GST_MAJORMINOR@/ \
|
sed s/@[G]ST_MAJORMINOR@/@GST_MAJORMINOR@/ \
|
||||||
|
@ -20,4 +18,3 @@ gst-inspect-check$(EXEEXT): $(srcdir)/gst-inspect-check.in
|
||||||
# cp $(srcdir)/gst-compprep-check.in gst-compprep-check$(EXEEXT)
|
# cp $(srcdir)/gst-compprep-check.in gst-compprep-check$(EXEEXT)
|
||||||
|
|
||||||
EXTRA_DIST = gst-inspect-check.in gst-compprep-check.in
|
EXTRA_DIST = gst-inspect-check.in gst-compprep-check.in
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
include ../Rules
|
|
||||||
|
|
||||||
tests_pass = enumcaps
|
|
||||||
tests_fail =
|
|
||||||
tests_ignore =
|
|
||||||
|
|
||||||
|
|
|
@ -1,95 +0,0 @@
|
||||||
/* GStreamer test
|
|
||||||
* (c) 2004 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
TEST_YES,
|
|
||||||
TEST_NO
|
|
||||||
}
|
|
||||||
TestBool;
|
|
||||||
|
|
||||||
#define TEST_BOOL_TYPE (test_bool_get_type ())
|
|
||||||
GType
|
|
||||||
test_bool_get_type (void)
|
|
||||||
{
|
|
||||||
static GType etype = 0;
|
|
||||||
|
|
||||||
if (etype == 0) {
|
|
||||||
static const GEnumValue values[] = {
|
|
||||||
{TEST_YES, "TEST_YES", "yes"},
|
|
||||||
{TEST_NO, "TEST_NO", "no"},
|
|
||||||
{0, NULL, NULL}
|
|
||||||
};
|
|
||||||
|
|
||||||
etype = g_enum_register_static ("TestBool", values);
|
|
||||||
}
|
|
||||||
return etype;
|
|
||||||
}
|
|
||||||
|
|
||||||
gint
|
|
||||||
main (gint argc, gchar * argv[])
|
|
||||||
{
|
|
||||||
gchar *str;
|
|
||||||
GstCaps *caps, *res_caps;
|
|
||||||
GstStructure *strc;
|
|
||||||
GValue value = { 0 };
|
|
||||||
TestBool yes, no;
|
|
||||||
|
|
||||||
/* register multichannel type */
|
|
||||||
gst_init (&argc, &argv);
|
|
||||||
test_bool_get_type ();
|
|
||||||
|
|
||||||
/* test some caps */
|
|
||||||
caps = gst_caps_new_simple ("application/x-gst-test", NULL);
|
|
||||||
str = gst_caps_to_string (caps);
|
|
||||||
g_assert (str);
|
|
||||||
g_free (str);
|
|
||||||
|
|
||||||
/* set enums in list */
|
|
||||||
strc = gst_caps_get_structure (caps, 0);
|
|
||||||
g_value_init (&value, TEST_BOOL_TYPE);
|
|
||||||
g_value_set_enum (&value, TEST_YES);
|
|
||||||
gst_structure_set_value (strc, "yes", &value);
|
|
||||||
g_value_set_enum (&value, TEST_NO);
|
|
||||||
gst_structure_set_value (strc, "no", &value);
|
|
||||||
g_value_unset (&value);
|
|
||||||
|
|
||||||
/* test to-/from-string conversions for enums */
|
|
||||||
str = gst_caps_to_string (caps);
|
|
||||||
g_assert (str);
|
|
||||||
res_caps = gst_caps_from_string (str);
|
|
||||||
g_free (str);
|
|
||||||
|
|
||||||
/* see if all worked */
|
|
||||||
strc = gst_caps_get_structure (res_caps, 0);
|
|
||||||
yes = g_value_get_enum (gst_structure_get_value (strc, "yes"));
|
|
||||||
no = g_value_get_enum (gst_structure_get_value (strc, "no"));
|
|
||||||
g_assert (yes == TEST_YES && no == TEST_NO);
|
|
||||||
gst_caps_free (caps);
|
|
||||||
gst_caps_free (res_caps);
|
|
||||||
|
|
||||||
/* yes */
|
|
||||||
return 0;
|
|
||||||
}
|
|
|
@ -3,6 +3,3 @@ include ../Rules
|
||||||
tests_pass = ghostpads
|
tests_pass = ghostpads
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
ghostpads_SOURCES = ghostpads.c
|
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = cache1 indexdump
|
tests_pass = cache1 indexdump
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ include ../Rules
|
||||||
tests_pass = pad_link
|
tests_pass = pad_link
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,3 @@ include ../Rules
|
||||||
tests_pass = parse1 parse2
|
tests_pass = parse1 parse2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
parse1_SOURCES = parse1.c
|
|
||||||
parse2_SOURCES = parse2.c
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
|
||||||
|
@ -7,7 +6,6 @@ tests_pass = dynamic linked loading registry static static2
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
libtestplugin_la_SOURCES = testplugin.c
|
libtestplugin_la_SOURCES = testplugin.c
|
||||||
libtestplugin_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libtestplugin_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libtestplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libtestplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
@ -16,6 +14,3 @@ libtestplugin2_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libtestplugin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
linked_LIBS = libtestplugin.la libtestplugin2.la
|
linked_LIBS = libtestplugin.la libtestplugin2.la
|
||||||
|
|
||||||
static_SOURCES = static.c
|
|
||||||
|
|
||||||
|
|
|
@ -12,5 +12,3 @@ bin_SOURCES = bin.c mem.c
|
||||||
EXTRA_DIST = thread.c object.c
|
EXTRA_DIST = thread.c object.c
|
||||||
|
|
||||||
noinst_HEADERS = mem.h
|
noinst_HEADERS = mem.h
|
||||||
|
|
||||||
|
|
||||||
|
|
5
testsuite/schedulers/.gitignore
vendored
5
testsuite/schedulers/.gitignore
vendored
|
@ -7,3 +7,8 @@ unref_src
|
||||||
useless_iteration
|
useless_iteration
|
||||||
143777
|
143777
|
||||||
143777-2
|
143777-2
|
||||||
|
142183
|
||||||
|
142183-2
|
||||||
|
147713
|
||||||
|
147819
|
||||||
|
147894
|
||||||
|
|
|
@ -3,8 +3,3 @@ include ../Rules
|
||||||
tests_pass = locked parent bin
|
tests_pass = locked parent bin
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
|
|
||||||
locked_LDADD = $(GST_OBJ_LIBS)
|
|
||||||
locked_CFLAGS = $(GST_OBJ_CFLAGS) $(GNOME_CFLAGS) $(XML_CFLAGS)
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@ include ../Rules
|
||||||
tests_pass = merge
|
tests_pass = merge
|
||||||
tests_fail =
|
tests_fail =
|
||||||
tests_ignore =
|
tests_ignore =
|
||||||
|
|
||||||
merge_SOURCES = merge.c
|
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@ tests_fail = thread5 threadd threadg
|
||||||
|
|
||||||
tests_ignore = queue threade threadb threadc
|
tests_ignore = queue threade threadb threadc
|
||||||
|
|
||||||
queue_SOURCES = queue.c
|
|
||||||
queue_CFLAGS = $(AM_CFLAGS)
|
|
||||||
|
|
||||||
thread1_SOURCES = thread.c
|
thread1_SOURCES = thread.c
|
||||||
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
||||||
thread2_SOURCES = thread.c
|
thread2_SOURCES = thread.c
|
||||||
|
|
Loading…
Reference in a new issue