From ab1142d4a070db4d03731f5739ac06e3fda3ed5f Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 29 Aug 2005 11:37:20 +0000 Subject: [PATCH] increase default timeout on tests for slow powerbooks Original commit message from CVS: increase default timeout on tests for slow powerbooks --- check/elements/volume.c | 6 +++--- common | 2 +- tests/check/elements/volume.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/check/elements/volume.c b/check/elements/volume.c index 684b7ab173..a07715cbba 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 7c93670c50..89d82b662d 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 684b7ab173..a07715cbba 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);