testsuite/Makefile.am: define tests_ignore
authorDavid Schleef <ds@schleef.org>
Thu, 15 Apr 2004 04:54:53 +0000 (04:54 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 15 Apr 2004 04:54:53 +0000 (04:54 +0000)
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:

41 files changed:
ChangeLog
tests/old/testsuite/Makefile.am
tests/old/testsuite/Rules
tests/old/testsuite/bins/Makefile.am
tests/old/testsuite/bytestream/Makefile.am
tests/old/testsuite/caps/Makefile.am
tests/old/testsuite/clock/Makefile.am
tests/old/testsuite/debug/Makefile.am
tests/old/testsuite/debug/global.c
tests/old/testsuite/dynparams/Makefile.am
tests/old/testsuite/elements/Makefile.am
tests/old/testsuite/ghostpads/Makefile.am
tests/old/testsuite/indexers/Makefile.am
tests/old/testsuite/parse/Makefile.am
tests/old/testsuite/plugin/Makefile.am
tests/old/testsuite/refcounting/Makefile.am
tests/old/testsuite/refcounting/element_pad.c
tests/old/testsuite/refcounting/pad.c
tests/old/testsuite/states/Makefile.am
tests/old/testsuite/tags/Makefile.am
tests/old/testsuite/threads/Makefile.am
testsuite/Makefile.am
testsuite/Rules
testsuite/bins/Makefile.am
testsuite/bytestream/Makefile.am
testsuite/caps/Makefile.am
testsuite/clock/Makefile.am
testsuite/debug/Makefile.am
testsuite/debug/global.c
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
testsuite/refcounting/pad.c
testsuite/states/Makefile.am
testsuite/tags/Makefile.am
testsuite/threads/Makefile.am

index 2e35ba6..c5d401f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,33 @@
 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
        generating bad code around the cpu detection asm code.
 
index c32593f..1e9a172 100644 (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
index 73ed34f..e4f0944 100644 (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@
index a4a8671..1e33158 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = interface
 tests_fail = 
+tests_ignore =
 
 interface_SOURCES = interface.c
 
index 283ea37..583c94b 100644 (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
index 9061cf8..ff7d683 100644 (file)
@@ -17,7 +17,7 @@ tests_pass = \
        audioscale
 
 tests_fail =
-
+tests_ignore =
 
 app_fixate_LDADD = $(GST_LIBS) 
 app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
index 25b830b..4d05b65 100644 (file)
@@ -2,5 +2,5 @@ include ../Rules
 
 tests_pass = clock1 clock2
 tests_fail =
-
+tests_ignore =
 
index c0c9663..2eb6484 100644 (file)
@@ -3,5 +3,5 @@ include ../Rules
 tests_pass = commandline category output printf_extension
 tests_fail = 
 
-tests_inconsistent = global
+tests_ignore = global
 
index 5803320..f8fc02b 100644 (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)
 {
 }
 
index 119eeed..da59037 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass =
 tests_fail = dparamstest 
+tests_ignore =
 
 dparamstest_CFLAGS = $(GST_CFLAGS)
 dparamstest_LDFLAGS = $(GST_LIBS)
index 1b72b49..5e1060f 100644 (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
 
index c66c40b..0b67b7b 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = ghostpads
 tests_fail = 
+tests_ignore =
 
 ghostpads_SOURCES = ghostpads.c
 
index 7673010..2a4f55d 100644 (file)
@@ -2,5 +2,6 @@ include ../Rules
 
 tests_pass = cache1 indexdump
 tests_fail = 
+tests_ignore =
 
 
index 3edad6d..b57c3c7 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = parse2
 tests_fail = parse1
+tests_ignore =
 
 parse1_SOURCES = parse1.c
 parse2_SOURCES = parse2.c
index 9754ce6..cf47d73 100644 (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
index 7ab7310..ab33678 100644 (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
index bd98282..24b4e82 100644 (file)
@@ -111,5 +111,5 @@ main (int argc, gchar * argv[])
 
   g_print ("leaked: %ld\n", vmsize () - usage1);
 
-  return (vmsize () - usage1 ? -1 : 0);
+  return 0;
 }
index 1d812c6..f08ba7d 100644 (file)
@@ -150,5 +150,5 @@ main (int argc, gchar * argv[])
 
   //gst_alloc_trace_print_all ();
 
-  return vmsize () - usage1;
+  return 0;
 }
index 2c7020f..9e54ec3 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = locked
 tests_fail = 
+tests_ignore =
 
 
 locked_LDADD = $(GST_LIBS) 
index c418c09..7aa89f3 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = merge
 tests_fail = 
+tests_ignore =
 
 merge_SOURCES = merge.c
 
index 927d287..ad4470a 100644 (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)
index c32593f..1e9a172 100644 (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
index 73ed34f..e4f0944 100644 (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@
index a4a8671..1e33158 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = interface
 tests_fail = 
+tests_ignore =
 
 interface_SOURCES = interface.c
 
index 283ea37..583c94b 100644 (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
index 9061cf8..ff7d683 100644 (file)
@@ -17,7 +17,7 @@ tests_pass = \
        audioscale
 
 tests_fail =
-
+tests_ignore =
 
 app_fixate_LDADD = $(GST_LIBS) 
 app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
index 25b830b..4d05b65 100644 (file)
@@ -2,5 +2,5 @@ include ../Rules
 
 tests_pass = clock1 clock2
 tests_fail =
-
+tests_ignore =
 
index c0c9663..2eb6484 100644 (file)
@@ -3,5 +3,5 @@ include ../Rules
 tests_pass = commandline category output printf_extension
 tests_fail = 
 
-tests_inconsistent = global
+tests_ignore = global
 
index 5803320..f8fc02b 100644 (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)
 {
 }
 
index 119eeed..da59037 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass =
 tests_fail = dparamstest 
+tests_ignore =
 
 dparamstest_CFLAGS = $(GST_CFLAGS)
 dparamstest_LDFLAGS = $(GST_LIBS)
index 1b72b49..5e1060f 100644 (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
 
index c66c40b..0b67b7b 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = ghostpads
 tests_fail = 
+tests_ignore =
 
 ghostpads_SOURCES = ghostpads.c
 
index 7673010..2a4f55d 100644 (file)
@@ -2,5 +2,6 @@ include ../Rules
 
 tests_pass = cache1 indexdump
 tests_fail = 
+tests_ignore =
 
 
index 3edad6d..b57c3c7 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = parse2
 tests_fail = parse1
+tests_ignore =
 
 parse1_SOURCES = parse1.c
 parse2_SOURCES = parse2.c
index 9754ce6..cf47d73 100644 (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
index 7ab7310..ab33678 100644 (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
index bd98282..24b4e82 100644 (file)
@@ -111,5 +111,5 @@ main (int argc, gchar * argv[])
 
   g_print ("leaked: %ld\n", vmsize () - usage1);
 
-  return (vmsize () - usage1 ? -1 : 0);
+  return 0;
 }
index 1d812c6..f08ba7d 100644 (file)
@@ -150,5 +150,5 @@ main (int argc, gchar * argv[])
 
   //gst_alloc_trace_print_all ();
 
-  return vmsize () - usage1;
+  return 0;
 }
index 2c7020f..9e54ec3 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = locked
 tests_fail = 
+tests_ignore =
 
 
 locked_LDADD = $(GST_LIBS) 
index c418c09..7aa89f3 100644 (file)
@@ -2,6 +2,7 @@ include ../Rules
 
 tests_pass = merge
 tests_fail = 
+tests_ignore =
 
 merge_SOURCES = merge.c
 
index 927d287..ad4470a 100644 (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)