From 83c7c626f041df1db2993793eaff39efe96bc6ca Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 4 May 2004 19:41:51 +0000 Subject: [PATCH] testsuite/caps/renegotiate.c: improve output in error case Original commit message from CVS: * testsuite/caps/renegotiate.c: (main): improve output in error case --- ChangeLog | 5 +++++ tests/old/testsuite/caps/renegotiate.c | 4 +++- testsuite/caps/renegotiate.c | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89b6aa812c..e15eac8e80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-04 Benjamin Otte + + * testsuite/caps/renegotiate.c: (main): + improve output in error case + 2004-05-04 Benjamin Otte * gst/parse/grammar.y: diff --git a/tests/old/testsuite/caps/renegotiate.c b/tests/old/testsuite/caps/renegotiate.c index 6265a6b059..377ffe038c 100644 --- a/tests/old/testsuite/caps/renegotiate.c +++ b/tests/old/testsuite/caps/renegotiate.c @@ -71,7 +71,9 @@ main (int argc, char *argv[]) if (error != NULL) { g_print - ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n"); + ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n" + "the error was: %s\n", error->message); + g_error_free (error); exit (0); } diff --git a/testsuite/caps/renegotiate.c b/testsuite/caps/renegotiate.c index 6265a6b059..377ffe038c 100644 --- a/testsuite/caps/renegotiate.c +++ b/testsuite/caps/renegotiate.c @@ -71,7 +71,9 @@ main (int argc, char *argv[]) if (error != NULL) { g_print - ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n"); + ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n" + "the error was: %s\n", error->message); + g_error_free (error); exit (0); }