GNOME Bugzilla – Bug 697610
gstpad test fails due to unclean buffers list
Last modified: 2013-04-09 08:59:28 UTC
"buffers" is the global list in libgstcheck.
gstpad testsuite checks the length of that list to see how many buffers came through the pad.
Several tests are performed (with new pads every time), but buffers list is never cleared.
test_sticky_caps_unlinked causes one buffer to be pushed into the list, and subsequent test (test_sticky_caps_unlinked_incompatible) fails because of that.
Created attachment 241012 [details] [review]
Clear the list at the beginning of each test
Pushed with changes, thanks for the patch!
Author: Руслан Ижбулатов <email@example.com>
Date: Tue Apr 9 09:22:39 2013 +0400
tests: fix GstPad test on windows and in CK_FORK=no mode
Need to clear buffer lists at the end of each test.
The drop_buffers should really be done at the end of the test as part of the test clean-up.