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! commit 54aaba5f2163d57d2f6b72e10e45a55c9626d6c1 Author: Руслан Ижбулатов <lrn1986@gmail.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. https://bugzilla.gnome.org/show_bug.cgi?id=697610 The drop_buffers should really be done at the end of the test as part of the test clean-up.