+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
tests_pass = test_gst_init
tests_fail =
+tests_ignore =
# we makes them, we gots to clean them
CLEANFILES += test-registry.xml
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@
tests_pass = interface
tests_fail =
+tests_ignore =
interface_SOURCES = interface.c
tests_pass =
tests_fail = test1
+tests_ignore =
test1_SOURCES = test1.c gstbstest.c
test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la
audioscale
tests_fail =
-
+tests_ignore =
app_fixate_LDADD = $(GST_LIBS)
app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
tests_pass = clock1 clock2
tests_fail =
-
+tests_ignore =
tests_pass = commandline category output printf_extension
tests_fail =
-tests_inconsistent = global
+tests_ignore = global
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)
{
}
tests_pass =
tests_fail = dparamstest
+tests_ignore =
dparamstest_CFLAGS = $(GST_CFLAGS)
dparamstest_LDFLAGS = $(GST_LIBS)
# 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
tests_pass = ghostpads
tests_fail =
+tests_ignore =
ghostpads_SOURCES = ghostpads.c
tests_pass = cache1 indexdump
tests_fail =
+tests_ignore =
tests_pass = parse2
tests_fail = parse1
+tests_ignore =
parse1_SOURCES = parse1.c
parse2_SOURCES = parse2.c
tests_pass = dynamic linked loading registry static static2
tests_fail =
+tests_ignore =
libtestplugin_la_SOURCES = testplugin.c
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
g_print ("leaked: %ld\n", vmsize () - usage1);
- return (vmsize () - usage1 ? -1 : 0);
+ return 0;
}
//gst_alloc_trace_print_all ();
- return vmsize () - usage1;
+ return 0;
}
tests_pass = locked
tests_fail =
+tests_ignore =
locked_LDADD = $(GST_LIBS)
tests_pass = merge
tests_fail =
+tests_ignore =
merge_SOURCES = merge.c
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)
tests_pass = test_gst_init
tests_fail =
+tests_ignore =
# we makes them, we gots to clean them
CLEANFILES += test-registry.xml
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@
tests_pass = interface
tests_fail =
+tests_ignore =
interface_SOURCES = interface.c
tests_pass =
tests_fail = test1
+tests_ignore =
test1_SOURCES = test1.c gstbstest.c
test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la
audioscale
tests_fail =
-
+tests_ignore =
app_fixate_LDADD = $(GST_LIBS)
app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
tests_pass = clock1 clock2
tests_fail =
-
+tests_ignore =
tests_pass = commandline category output printf_extension
tests_fail =
-tests_inconsistent = global
+tests_ignore = global
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)
{
}
tests_pass =
tests_fail = dparamstest
+tests_ignore =
dparamstest_CFLAGS = $(GST_CFLAGS)
dparamstest_LDFLAGS = $(GST_LIBS)
# 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
tests_pass = ghostpads
tests_fail =
+tests_ignore =
ghostpads_SOURCES = ghostpads.c
tests_pass = cache1 indexdump
tests_fail =
+tests_ignore =
tests_pass = parse2
tests_fail = parse1
+tests_ignore =
parse1_SOURCES = parse1.c
parse2_SOURCES = parse2.c
tests_pass = dynamic linked loading registry static static2
tests_fail =
+tests_ignore =
libtestplugin_la_SOURCES = testplugin.c
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
g_print ("leaked: %ld\n", vmsize () - usage1);
- return (vmsize () - usage1 ? -1 : 0);
+ return 0;
}
//gst_alloc_trace_print_all ();
- return vmsize () - usage1;
+ return 0;
}
tests_pass = locked
tests_fail =
+tests_ignore =
locked_LDADD = $(GST_LIBS)
tests_pass = merge
tests_fail =
+tests_ignore =
merge_SOURCES = merge.c
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)