From: Benjamin Otte Date: Wed, 16 Apr 2003 19:45:55 +0000 (+0000) Subject: add a breaking testcase X-Git-Tag: BRANCH-ERROR-ROOT~299 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22a96e5e85ba6b2cf7c49dfec5e8c3f60f3bb436;p=platform%2Fupstream%2Fgstreamer.git add a breaking testcase Original commit message from CVS: add a breaking testcase --- diff --git a/tests/old/testsuite/parse/parse1.c b/tests/old/testsuite/parse/parse1.c index d7f3469512..9ec0e9b73e 100644 --- a/tests/old/testsuite/parse/parse1.c +++ b/tests/old/testsuite/parse/parse1.c @@ -79,15 +79,13 @@ static gchar *s; #define PIPELINE6 "pipeline.(name=\"john\" fakesrc num-buffers=4 ( thread. ( ! queue ! identity !{ queue ! fakesink }) ))" #define PIPELINE7 "fakesrc num-buffers=4 ! tee name=tee .src%d! fakesink tee.src%d ! fakesink fakesink name =\"foo\" tee.src%d ! foo." #define PIPELINE8 "fakesrc num-buffers=4 ! tee name=tee1 .src0,src1 ! .sink0, sink1 aggregator ! fakesink" +#define PIPELINE9 "fakesrc num-buffers=4 ! test. fakesink name=test" gint main (gint argc, gchar *argv[]) { gst_init (&argc, &argv); -goto here; -here: - /** * checks: * - specifying an element works :) @@ -174,6 +172,13 @@ here: TEST_RUN; TEST_OK; + /** + * checks: + * - failed in grammar.y cvs version 1.17 + */ + TEST_START (PIPELINE9); + TEST_RUN; + TEST_OK; + return 0; } - diff --git a/testsuite/parse/parse1.c b/testsuite/parse/parse1.c index d7f3469512..9ec0e9b73e 100644 --- a/testsuite/parse/parse1.c +++ b/testsuite/parse/parse1.c @@ -79,15 +79,13 @@ static gchar *s; #define PIPELINE6 "pipeline.(name=\"john\" fakesrc num-buffers=4 ( thread. ( ! queue ! identity !{ queue ! fakesink }) ))" #define PIPELINE7 "fakesrc num-buffers=4 ! tee name=tee .src%d! fakesink tee.src%d ! fakesink fakesink name =\"foo\" tee.src%d ! foo." #define PIPELINE8 "fakesrc num-buffers=4 ! tee name=tee1 .src0,src1 ! .sink0, sink1 aggregator ! fakesink" +#define PIPELINE9 "fakesrc num-buffers=4 ! test. fakesink name=test" gint main (gint argc, gchar *argv[]) { gst_init (&argc, &argv); -goto here; -here: - /** * checks: * - specifying an element works :) @@ -174,6 +172,13 @@ here: TEST_RUN; TEST_OK; + /** + * checks: + * - failed in grammar.y cvs version 1.17 + */ + TEST_START (PIPELINE9); + TEST_RUN; + TEST_OK; + return 0; } -