From: Thomas Vander Stichele Date: Mon, 29 Aug 2005 11:37:20 +0000 (+0000) Subject: increase default timeout on tests for slow powerbooks X-Git-Tag: RELEASE-0_9_1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab1142d4a070db4d03731f5739ac06e3fda3ed5f;p=platform%2Fupstream%2Fgst-plugins-base.git increase default timeout on tests for slow powerbooks Original commit message from CVS: increase default timeout on tests for slow powerbooks --- diff --git a/check/elements/volume.c b/check/elements/volume.c index 684b7ab17..a07715cbb 100644 --- a/check/elements/volume.c +++ b/check/elements/volume.c @@ -117,7 +117,7 @@ GST_START_TEST (test_unity) fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); /* ... but it ends up being collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (inbuffer), in, 4) == 0); @@ -156,7 +156,7 @@ GST_START_TEST (test_half) /* ... but it ends up being modified inplace and * collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); @@ -195,7 +195,7 @@ GST_START_TEST (test_double) /* ... but it ends up being modified inplace and * collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); diff --git a/common b/common index 7c93670c5..89d82b662 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 7c93670c50de2b6e9d8edd31737c636192fbd831 +Subproject commit 89d82b662da00096b70e70a7a102b294acaae6dd diff --git a/tests/check/elements/volume.c b/tests/check/elements/volume.c index 684b7ab17..a07715cbb 100644 --- a/tests/check/elements/volume.c +++ b/tests/check/elements/volume.c @@ -117,7 +117,7 @@ GST_START_TEST (test_unity) fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); /* ... but it ends up being collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (inbuffer), in, 4) == 0); @@ -156,7 +156,7 @@ GST_START_TEST (test_half) /* ... but it ends up being modified inplace and * collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); @@ -195,7 +195,7 @@ GST_START_TEST (test_double) /* ... but it ends up being modified inplace and * collected on the global buffer list */ ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - fail_unless (g_list_length (buffers) == 1); + fail_unless_equals_int (g_list_length (buffers), 1); fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0);