increase default timeout on tests for slow powerbooks

Original commit message from CVS:
increase default timeout on tests for slow powerbooks
This commit is contained in:
Thomas Vander Stichele 2005-08-29 11:37:20 +00:00
parent af5663e170
commit ab1142d4a0
3 changed files with 7 additions and 7 deletions

View file

@ -117,7 +117,7 @@ GST_START_TEST (test_unity)
fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK);
/* ... but it ends up being collected on the global buffer list */ /* ... but it ends up being collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (inbuffer), in, 4) == 0); 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 /* ... but it ends up being modified inplace and
* collected on the global buffer list */ * collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); 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 /* ... but it ends up being modified inplace and
* collected on the global buffer list */ * collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0);

2
common

@ -1 +1 @@
Subproject commit 7c93670c50de2b6e9d8edd31737c636192fbd831 Subproject commit 89d82b662da00096b70e70a7a102b294acaae6dd

View file

@ -117,7 +117,7 @@ GST_START_TEST (test_unity)
fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK);
/* ... but it ends up being collected on the global buffer list */ /* ... but it ends up being collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (inbuffer), in, 4) == 0); 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 /* ... but it ends up being modified inplace and
* collected on the global buffer list */ * collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); 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 /* ... but it ends up being modified inplace and
* collected on the global buffer list */ * collected on the global buffer list */
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); 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_if ((outbuffer = (GstBuffer *) buffers->data) == NULL);
fail_unless (inbuffer == outbuffer); fail_unless (inbuffer == outbuffer);
fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0); fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, 4) == 0);