mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
tests: baseparse: make work with CK_FORK=no
https://bugzilla.gnome.org/show_bug.cgi?id=623469
This commit is contained in:
parent
1fa64722d0
commit
86c0058ae5
1 changed files with 18 additions and 0 deletions
|
@ -453,6 +453,23 @@ GST_START_TEST (parser_reverse_playback)
|
|||
|
||||
GST_END_TEST;
|
||||
|
||||
static void
|
||||
baseparse_setup (void)
|
||||
{
|
||||
/* init/reset global state */
|
||||
mysrcpad = mysinkpad = NULL;
|
||||
parsetest = NULL;
|
||||
bus = NULL;
|
||||
loop = NULL;
|
||||
have_eos = have_data = caps_set = FALSE;
|
||||
buffer_count = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
baseparse_teardown (void)
|
||||
{
|
||||
}
|
||||
|
||||
static Suite *
|
||||
gst_baseparse_suite (void)
|
||||
{
|
||||
|
@ -460,6 +477,7 @@ gst_baseparse_suite (void)
|
|||
TCase *tc = tcase_create ("general");
|
||||
|
||||
suite_add_tcase (s, tc);
|
||||
tcase_add_checked_fixture (tc, baseparse_setup, baseparse_teardown);
|
||||
tcase_add_test (tc, parser_playback);
|
||||
tcase_add_test (tc, parser_empty_stream);
|
||||
tcase_add_test (tc, parser_reverse_playback_on_passthrough);
|
||||
|
|
Loading…
Reference in a new issue