diff --git a/ChangeLog b/ChangeLog index 6c1ac9b38b..98b2b9d20d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-18 Jan Schmidt + + * 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 * check/Makefile.am: diff --git a/check/gst/gstevents.c b/check/gst/gstevents.c index e4c507bfbf..4356c26dc3 100644 --- a/check/gst/gstevents.c +++ b/check/gst/gstevents.c @@ -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)); diff --git a/tests/check/gst/gstevents.c b/tests/check/gst/gstevents.c index e4c507bfbf..4356c26dc3 100644 --- a/tests/check/gst/gstevents.c +++ b/tests/check/gst/gstevents.c @@ -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));