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:
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite), (main):
* 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));
* 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));