testsuite/Makefile.am: define tests_ignore

Original commit message from CVS:
* testsuite/Makefile.am: define tests_ignore
* testsuite/Rules: Added new tests_ignore, which get compiled,
but not run (generally because they're inconsistent or have
heisenbugs).  Now we can ensure all the .c files compile in
testsuite/.
* testsuite/bins/Makefile.am: define tests_ignore
* testsuite/bytestream/Makefile.am:
* testsuite/caps/Makefile.am:
* testsuite/clock/Makefile.am:
* testsuite/debug/Makefile.am:
* testsuite/debug/global.c: (gst_debug_log_one),
(gst_debug_log_two): Fix compilation problem.
* testsuite/dynparams/Makefile.am:
* testsuite/elements/Makefile.am:
* testsuite/ghostpads/Makefile.am:
* testsuite/indexers/Makefile.am:
* testsuite/parse/Makefile.am:
* testsuite/plugin/Makefile.am:
* testsuite/refcounting/Makefile.am:
* testsuite/refcounting/element_pad.c: (main): Don't return leak
results, because it's not calculated correctly.
* testsuite/refcounting/pad.c: (main): same
* testsuite/states/Makefile.am:
* testsuite/tags/Makefile.am:
* testsuite/threads/Makefile.am:
This commit is contained in:
David Schleef 2004-04-15 04:54:53 +00:00
parent 0622e9e391
commit 3547072600
41 changed files with 82 additions and 36 deletions

View file

@ -1,3 +1,31 @@
2004-04-14 David Schleef <ds@schleef.org>
* testsuite/Makefile.am: define tests_ignore
* testsuite/Rules: Added new tests_ignore, which get compiled,
but not run (generally because they're inconsistent or have
heisenbugs). Now we can ensure all the .c files compile in
testsuite/.
* testsuite/bins/Makefile.am: define tests_ignore
* testsuite/bytestream/Makefile.am:
* testsuite/caps/Makefile.am:
* testsuite/clock/Makefile.am:
* testsuite/debug/Makefile.am:
* testsuite/debug/global.c: (gst_debug_log_one),
(gst_debug_log_two): Fix compilation problem.
* testsuite/dynparams/Makefile.am:
* testsuite/elements/Makefile.am:
* testsuite/ghostpads/Makefile.am:
* testsuite/indexers/Makefile.am:
* testsuite/parse/Makefile.am:
* testsuite/plugin/Makefile.am:
* testsuite/refcounting/Makefile.am:
* testsuite/refcounting/element_pad.c: (main): Don't return leak
results, because it's not calculated correctly.
* testsuite/refcounting/pad.c: (main): same
* testsuite/states/Makefile.am:
* testsuite/tags/Makefile.am:
* testsuite/threads/Makefile.am:
2004-04-14 David Schleef <ds@schleef.org>
* gst/gstcpu.c: (gst_cpuid_i386): Add workaround for gcc-3.2

View file

@ -22,6 +22,7 @@ DIST_SUBDIRS = bins bytestream caps cleanup clock dynparams elements indexers \
tests_pass = test_gst_init
tests_fail =
tests_ignore =
# we makes them, we gots to clean them
CLEANFILES += test-registry.xml

View file

@ -7,7 +7,7 @@ TESTS_ENVIRONMENT=\
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
check_PROGRAMS = $(tests_pass) $(tests_fail)
check_PROGRAMS = $(tests_pass) $(tests_fail) $(tests_ignore)
# make all tests depend on the versioned gst-register
$(tests_pass) $(tests_fail): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = interface
tests_fail =
tests_ignore =
interface_SOURCES = interface.c

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass =
tests_fail = test1
tests_ignore =
test1_SOURCES = test1.c gstbstest.c
test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la

View file

@ -17,7 +17,7 @@ tests_pass = \
audioscale
tests_fail =
tests_ignore =
app_fixate_LDADD = $(GST_LIBS)
app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)

View file

@ -2,5 +2,5 @@ include ../Rules
tests_pass = clock1 clock2
tests_fail =
tests_ignore =

View file

@ -3,5 +3,5 @@ include ../Rules
tests_pass = commandline category output printf_extension
tests_fail =
tests_inconsistent = global
tests_ignore = global

View file

@ -33,25 +33,25 @@ gst_debug_log_one (GstDebugCategory * category,
GstDebugLevel level,
const gchar * file,
const gchar * function,
gint line, GObject * object, gchar * message, gpointer thread)
gint line, GObject * object, GstDebugMessage * message, gpointer data)
G_GNUC_NO_INSTRUMENT;
static void gst_debug_log_two (GstDebugCategory * category,
GstDebugLevel level,
const gchar * file,
const gchar * function,
gint line,
GObject * object, gchar * message, gpointer thread) G_GNUC_NO_INSTRUMENT;
gint line, GObject * object, GstDebugMessage * message, gpointer thread)
G_GNUC_NO_INSTRUMENT;
static void
gst_debug_log_one (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line, GObject * object,
gchar * message, gpointer thread)
GstDebugMessage * message, gpointer data)
{
}
static void
gst_debug_log_two (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line, GObject * object,
gchar * message, gpointer thread)
GstDebugMessage * message, gpointer data)
{
}

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass =
tests_fail = dparamstest
tests_ignore =
dparamstest_CFLAGS = $(GST_CFLAGS)
dparamstest_LDFLAGS = $(GST_LIBS)

View file

@ -4,6 +4,7 @@ include ../Rules
# disable gst-compprep-check until it doesn't leave stray files for distcheck
tests_pass = name tee property fake gst-inspect-check
tests_fail =
tests_ignore =
noinst_HEADERS = property.h

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = ghostpads
tests_fail =
tests_ignore =
ghostpads_SOURCES = ghostpads.c

View file

@ -2,5 +2,6 @@ include ../Rules
tests_pass = cache1 indexdump
tests_fail =
tests_ignore =

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = parse2
tests_fail = parse1
tests_ignore =
parse1_SOURCES = parse1.c
parse2_SOURCES = parse2.c

View file

@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
tests_pass = dynamic linked loading registry static static2
tests_fail =
tests_ignore =
libtestplugin_la_SOURCES = testplugin.c

View file

@ -1,11 +1,8 @@
include ../Rules
tests_pass = bin element mainloop
# pad
tests_fail = sched
# element_pad
noinst_PROGRAMS = pad element_pad
tests_pass = bin element mainloop pad element_pad
tests_fail =
tests_ignore = sched
element_SOURCES = element.c mem.c
pad_SOURCES = pad.c mem.c

View file

@ -111,5 +111,5 @@ main (int argc, gchar * argv[])
g_print ("leaked: %ld\n", vmsize () - usage1);
return (vmsize () - usage1 ? -1 : 0);
return 0;
}

View file

@ -150,5 +150,5 @@ main (int argc, gchar * argv[])
//gst_alloc_trace_print_all ();
return vmsize () - usage1;
return 0;
}

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = locked
tests_fail =
tests_ignore =
locked_LDADD = $(GST_LIBS)

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = merge
tests_fail =
tests_ignore =
merge_SOURCES = merge.c

View file

@ -2,7 +2,8 @@ include ../Rules
tests_pass = thread1 thread2 thread3 thread4 threadf
tests_fail = thread5 threadd queue
# tests which unexpectedly pass: threade threadb threadc
tests_ignore = threade threadb threadc
queue_SOURCES = queue.c
queue_CFLAGS = $(AM_CFLAGS)

View file

@ -22,6 +22,7 @@ DIST_SUBDIRS = bins bytestream caps cleanup clock dynparams elements indexers \
tests_pass = test_gst_init
tests_fail =
tests_ignore =
# we makes them, we gots to clean them
CLEANFILES += test-registry.xml

View file

@ -7,7 +7,7 @@ TESTS_ENVIRONMENT=\
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
check_PROGRAMS = $(tests_pass) $(tests_fail)
check_PROGRAMS = $(tests_pass) $(tests_fail) $(tests_ignore)
# make all tests depend on the versioned gst-register
$(tests_pass) $(tests_fail): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = interface
tests_fail =
tests_ignore =
interface_SOURCES = interface.c

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass =
tests_fail = test1
tests_ignore =
test1_SOURCES = test1.c gstbstest.c
test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la

View file

@ -17,7 +17,7 @@ tests_pass = \
audioscale
tests_fail =
tests_ignore =
app_fixate_LDADD = $(GST_LIBS)
app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)

View file

@ -2,5 +2,5 @@ include ../Rules
tests_pass = clock1 clock2
tests_fail =
tests_ignore =

View file

@ -3,5 +3,5 @@ include ../Rules
tests_pass = commandline category output printf_extension
tests_fail =
tests_inconsistent = global
tests_ignore = global

View file

@ -33,25 +33,25 @@ gst_debug_log_one (GstDebugCategory * category,
GstDebugLevel level,
const gchar * file,
const gchar * function,
gint line, GObject * object, gchar * message, gpointer thread)
gint line, GObject * object, GstDebugMessage * message, gpointer data)
G_GNUC_NO_INSTRUMENT;
static void gst_debug_log_two (GstDebugCategory * category,
GstDebugLevel level,
const gchar * file,
const gchar * function,
gint line,
GObject * object, gchar * message, gpointer thread) G_GNUC_NO_INSTRUMENT;
gint line, GObject * object, GstDebugMessage * message, gpointer thread)
G_GNUC_NO_INSTRUMENT;
static void
gst_debug_log_one (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line, GObject * object,
gchar * message, gpointer thread)
GstDebugMessage * message, gpointer data)
{
}
static void
gst_debug_log_two (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line, GObject * object,
gchar * message, gpointer thread)
GstDebugMessage * message, gpointer data)
{
}

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass =
tests_fail = dparamstest
tests_ignore =
dparamstest_CFLAGS = $(GST_CFLAGS)
dparamstest_LDFLAGS = $(GST_LIBS)

View file

@ -4,6 +4,7 @@ include ../Rules
# disable gst-compprep-check until it doesn't leave stray files for distcheck
tests_pass = name tee property fake gst-inspect-check
tests_fail =
tests_ignore =
noinst_HEADERS = property.h

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = ghostpads
tests_fail =
tests_ignore =
ghostpads_SOURCES = ghostpads.c

View file

@ -2,5 +2,6 @@ include ../Rules
tests_pass = cache1 indexdump
tests_fail =
tests_ignore =

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = parse2
tests_fail = parse1
tests_ignore =
parse1_SOURCES = parse1.c
parse2_SOURCES = parse2.c

View file

@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
tests_pass = dynamic linked loading registry static static2
tests_fail =
tests_ignore =
libtestplugin_la_SOURCES = testplugin.c

View file

@ -1,11 +1,8 @@
include ../Rules
tests_pass = bin element mainloop
# pad
tests_fail = sched
# element_pad
noinst_PROGRAMS = pad element_pad
tests_pass = bin element mainloop pad element_pad
tests_fail =
tests_ignore = sched
element_SOURCES = element.c mem.c
pad_SOURCES = pad.c mem.c

View file

@ -111,5 +111,5 @@ main (int argc, gchar * argv[])
g_print ("leaked: %ld\n", vmsize () - usage1);
return (vmsize () - usage1 ? -1 : 0);
return 0;
}

View file

@ -150,5 +150,5 @@ main (int argc, gchar * argv[])
//gst_alloc_trace_print_all ();
return vmsize () - usage1;
return 0;
}

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = locked
tests_fail =
tests_ignore =
locked_LDADD = $(GST_LIBS)

View file

@ -2,6 +2,7 @@ include ../Rules
tests_pass = merge
tests_fail =
tests_ignore =
merge_SOURCES = merge.c

View file

@ -2,7 +2,8 @@ include ../Rules
tests_pass = thread1 thread2 thread3 thread4 threadf
tests_fail = thread5 threadd queue
# tests which unexpectedly pass: threade threadb threadc
tests_ignore = threade threadb threadc
queue_SOURCES = queue.c
queue_CFLAGS = $(AM_CFLAGS)