From 2fc36c66698ff87a6e0b6c76d9e6a1f95cf9ae53 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 12 Jan 2004 17:22:15 +0000 Subject: [PATCH] fix testsuite Original commit message from CVS: fix testsuite --- ChangeLog | 8 +++++++- tests/old/testsuite/debug/commandline.c | 2 +- tests/old/testsuite/debug/output.c | 4 ++-- testsuite/debug/commandline.c | 2 +- testsuite/debug/output.c | 4 ++-- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f7f354d2f..baa3d2f669 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-12 Thomas Vander Stichele + + * testsuite/debug/commandline.c: (debug_not_reached): + * testsuite/debug/output.c: (check_message): + fix testsuite + 2004-01-12 Benjamin Otte * examples/cutter/.cvsignore: @@ -42,7 +48,7 @@ update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov. -2004-01-11 David Schleef,,, +2004-01-11 David Schleef * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add a function to parse integers in ways that strto[u]l() does not. diff --git a/tests/old/testsuite/debug/commandline.c b/tests/old/testsuite/debug/commandline.c index 7f2e201ca6..b2e6c58d5e 100644 --- a/tests/old/testsuite/debug/commandline.c +++ b/tests/old/testsuite/debug/commandline.c @@ -36,7 +36,7 @@ static const gchar* lines[] = { static void 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) { g_assert_not_reached (); diff --git a/tests/old/testsuite/debug/output.c b/tests/old/testsuite/debug/output.c index 2df2d5db9f..d0ef4e5b25 100644 --- a/tests/old/testsuite/debug/output.c +++ b/tests/old/testsuite/debug/output.c @@ -29,7 +29,7 @@ static GstElement *pipeline; static void 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) { gint temp; @@ -39,7 +39,7 @@ check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *fil /* <0 means no checks */ if (count < 0) return; - g_print ("expecting \"%s\"...", message); + g_print ("expecting \"%s\"...", (gchar *) message); /* level */ temp = (count % 5) + 1; g_assert (level == temp); diff --git a/testsuite/debug/commandline.c b/testsuite/debug/commandline.c index 7f2e201ca6..b2e6c58d5e 100644 --- a/testsuite/debug/commandline.c +++ b/testsuite/debug/commandline.c @@ -36,7 +36,7 @@ static const gchar* lines[] = { static void 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) { g_assert_not_reached (); diff --git a/testsuite/debug/output.c b/testsuite/debug/output.c index 2df2d5db9f..d0ef4e5b25 100644 --- a/testsuite/debug/output.c +++ b/testsuite/debug/output.c @@ -29,7 +29,7 @@ static GstElement *pipeline; static void 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) { gint temp; @@ -39,7 +39,7 @@ check_message (GstDebugCategory *category, GstDebugLevel level, const gchar *fil /* <0 means no checks */ if (count < 0) return; - g_print ("expecting \"%s\"...", message); + g_print ("expecting \"%s\"...", (gchar *) message); /* level */ temp = (count % 5) + 1; g_assert (level == temp);