fix testsuite

Original commit message from CVS:
fix testsuite
This commit is contained in:
Thomas Vander Stichele 2004-01-12 17:22:15 +00:00
parent a5bb704036
commit 2fc36c6669
5 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/debug/commandline.c: (debug_not_reached):
* testsuite/debug/output.c: (check_message):
fix testsuite
2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
* examples/cutter/.cvsignore: * examples/cutter/.cvsignore:
@ -42,7 +48,7 @@
update - this is huge, because it includes *.bb, *.bbg and *.da files update - this is huge, because it includes *.bb, *.bbg and *.da files
which are generated for gcov. which are generated for gcov.
2004-01-11 David Schleef,,, <set EMAIL_ADDRESS environment variable> 2004-01-11 David Schleef <ds@schleef.org>
* gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
a function to parse integers in ways that strto[u]l() does not. a function to parse integers in ways that strto[u]l() does not.

View file

@ -36,7 +36,7 @@ static const gchar* lines[] = {
static void static void
debug_not_reached (GstDebugCategory *category, GstDebugLevel level, const gchar *file, debug_not_reached (GstDebugCategory *category, GstDebugLevel level, const gchar *file,
const gchar *function, gint line, GObject *object, gchar *message, const gchar *function, gint line, GObject *object, GstDebugMessage *message,
gpointer thread) gpointer thread)
{ {
g_assert_not_reached (); g_assert_not_reached ();

View file

@ -29,7 +29,7 @@ static GstElement *pipeline;
static void static void
check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *file, check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *file,
const gchar *function, gint line, GObject *object, gchar *message, const gchar *function, gint line, GObject *object, GstDebugMessage *message,
gpointer unused) gpointer unused)
{ {
gint temp; gint temp;
@ -39,7 +39,7 @@ check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *fil
/* <0 means no checks */ /* <0 means no checks */
if (count < 0) return; if (count < 0) return;
g_print ("expecting \"%s\"...", message); g_print ("expecting \"%s\"...", (gchar *) message);
/* level */ /* level */
temp = (count % 5) + 1; temp = (count % 5) + 1;
g_assert (level == temp); g_assert (level == temp);

View file

@ -36,7 +36,7 @@ static const gchar* lines[] = {
static void static void
debug_not_reached (GstDebugCategory *category, GstDebugLevel level, const gchar *file, debug_not_reached (GstDebugCategory *category, GstDebugLevel level, const gchar *file,
const gchar *function, gint line, GObject *object, gchar *message, const gchar *function, gint line, GObject *object, GstDebugMessage *message,
gpointer thread) gpointer thread)
{ {
g_assert_not_reached (); g_assert_not_reached ();

View file

@ -29,7 +29,7 @@ static GstElement *pipeline;
static void static void
check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *file, check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *file,
const gchar *function, gint line, GObject *object, gchar *message, const gchar *function, gint line, GObject *object, GstDebugMessage *message,
gpointer unused) gpointer unused)
{ {
gint temp; gint temp;
@ -39,7 +39,7 @@ check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *fil
/* <0 means no checks */ /* <0 means no checks */
if (count < 0) return; if (count < 0) return;
g_print ("expecting \"%s\"...", message); g_print ("expecting \"%s\"...", (gchar *) message);
/* level */ /* level */
temp = (count % 5) + 1; temp = (count % 5) + 1;
g_assert (level == temp); g_assert (level == temp);