mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
check/gst/gstevents.c: Fix error message output so I might be able to tell why the test works here but fails on the b...
Original commit message from CVS: * check/gst/gstevents.c: (GST_START_TEST), (event_probe), (test_event), (timediff), (gstevents_suite): Fix error message output so I might be able to tell why the test works here but fails on the build farm.
This commit is contained in:
parent
8377afc0ba
commit
f651422287
3 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
|
||||
(test_event), (timediff), (gstevents_suite):
|
||||
Fix error message output so I might be able to tell why the
|
||||
test works here but fails on the build farm.
|
||||
|
||||
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* check/Makefile.am:
|
||||
|
|
|
@ -327,11 +327,13 @@ GST_START_TEST (send_custom_events)
|
|||
* to traverse the the queue */
|
||||
test_event (GST_EVENT_CUSTOM_DS, srcpad, FALSE);
|
||||
fail_unless (timediff (&got_event_time, &sent_event_time) >= G_USEC_PER_SEC,
|
||||
"GST_EVENT_CUSTOM_BOTH_OOB arrived at sink too quickly for an in-band event");
|
||||
"GST_EVENT_CUSTOM_DS arrived too quickly for an in-band event: %lld us",
|
||||
timediff (&got_event_time, &sent_event_time));
|
||||
|
||||
test_event (GST_EVENT_CUSTOM_BOTH, srcpad, FALSE);
|
||||
fail_unless (timediff (&got_event_time, &sent_event_time) >= G_USEC_PER_SEC,
|
||||
"GST_EVENT_CUSTOM_BOTH_OOB arrived at sink too quickly for an in-band event");
|
||||
"GST_EVENT_CUSTOM_BOTH arrived too quickly for an in-band event: %lld us",
|
||||
timediff (&got_event_time, &sent_event_time));
|
||||
|
||||
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
|
||||
gst_bin_watch_for_state_change (GST_BIN (pipeline));
|
||||
|
|
|
@ -327,11 +327,13 @@ GST_START_TEST (send_custom_events)
|
|||
* to traverse the the queue */
|
||||
test_event (GST_EVENT_CUSTOM_DS, srcpad, FALSE);
|
||||
fail_unless (timediff (&got_event_time, &sent_event_time) >= G_USEC_PER_SEC,
|
||||
"GST_EVENT_CUSTOM_BOTH_OOB arrived at sink too quickly for an in-band event");
|
||||
"GST_EVENT_CUSTOM_DS arrived too quickly for an in-band event: %lld us",
|
||||
timediff (&got_event_time, &sent_event_time));
|
||||
|
||||
test_event (GST_EVENT_CUSTOM_BOTH, srcpad, FALSE);
|
||||
fail_unless (timediff (&got_event_time, &sent_event_time) >= G_USEC_PER_SEC,
|
||||
"GST_EVENT_CUSTOM_BOTH_OOB arrived at sink too quickly for an in-band event");
|
||||
"GST_EVENT_CUSTOM_BOTH arrived too quickly for an in-band event: %lld us",
|
||||
timediff (&got_event_time, &sent_event_time));
|
||||
|
||||
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
|
||||
gst_bin_watch_for_state_change (GST_BIN (pipeline));
|
||||
|
|
Loading…
Reference in a new issue