mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
check/: Fix up the timeout so that the test does not fail.
Original commit message from CVS: * check/gst/gstbus.c: (gstbus_suite): * check/gst/gstdata.c: (thread_ref), (gst_data_suite): * check/gstcheck.h: Fix up the timeout so that the test does not fail.
This commit is contained in:
parent
1b1f7c7e98
commit
8d7c6287be
7 changed files with 17 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-04-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
|
||||
|
||||
* check/gst/gstbus.c: (gstbus_suite):
|
||||
* check/gst/gstdata.c: (thread_ref), (gst_data_suite):
|
||||
* check/gstcheck.h:
|
||||
Fix up the timeout so that the test does not fail.
|
||||
|
||||
2005-04-06 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/base/README:
|
||||
|
|
|
@ -105,7 +105,7 @@ gstbus_suite (void)
|
|||
Suite *s = suite_create ("GstBus");
|
||||
TCase *tc_chain = tcase_create ("stresstest");
|
||||
|
||||
tcase_set_timeout (tc_chain, 0);
|
||||
tcase_set_timeout (tc_chain, 20);
|
||||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
tcase_add_test (tc_chain, test_hammer_bus);
|
||||
|
|
|
@ -107,6 +107,7 @@ thread_ref (GstData * data)
|
|||
if (j % num_threads == 0)
|
||||
THREAD_SWITCH ();
|
||||
}
|
||||
g_message ("thread stopped\n");
|
||||
}
|
||||
|
||||
START_TEST (test_ref_threaded)
|
||||
|
@ -169,6 +170,9 @@ gst_data_suite (void)
|
|||
Suite *s = suite_create ("GstData");
|
||||
TCase *tc_chain = tcase_create ("general");
|
||||
|
||||
/* turn off timeout */
|
||||
tcase_set_timeout (tc_chain, 20);
|
||||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
tcase_add_test (tc_chain, test_copy);
|
||||
tcase_add_test (tc_chain, test_is_writable);
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
||||
/* logging function for tests
|
||||
* a test uses g_message() to log a debug line
|
||||
* a gst unit test can be run with GST_TEST_DEBUG env var set to see the
|
||||
|
|
|
@ -105,7 +105,7 @@ gstbus_suite (void)
|
|||
Suite *s = suite_create ("GstBus");
|
||||
TCase *tc_chain = tcase_create ("stresstest");
|
||||
|
||||
tcase_set_timeout (tc_chain, 0);
|
||||
tcase_set_timeout (tc_chain, 20);
|
||||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
tcase_add_test (tc_chain, test_hammer_bus);
|
||||
|
|
|
@ -107,6 +107,7 @@ thread_ref (GstData * data)
|
|||
if (j % num_threads == 0)
|
||||
THREAD_SWITCH ();
|
||||
}
|
||||
g_message ("thread stopped\n");
|
||||
}
|
||||
|
||||
START_TEST (test_ref_threaded)
|
||||
|
@ -169,6 +170,9 @@ gst_data_suite (void)
|
|||
Suite *s = suite_create ("GstData");
|
||||
TCase *tc_chain = tcase_create ("general");
|
||||
|
||||
/* turn off timeout */
|
||||
tcase_set_timeout (tc_chain, 20);
|
||||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
tcase_add_test (tc_chain, test_copy);
|
||||
tcase_add_test (tc_chain, test_is_writable);
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
||||
/* logging function for tests
|
||||
* a test uses g_message() to log a debug line
|
||||
* a gst unit test can be run with GST_TEST_DEBUG env var set to see the
|
||||
|
|
Loading…
Reference in a new issue