mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
tests: make state-change test timeout longer if wrappers are enabled
When ladspa || lv2 are enabled one could quickly get to 500 elements.
This commit is contained in:
parent
7f1ac755e4
commit
2bdaec2275
1 changed files with 7 additions and 0 deletions
|
@ -219,6 +219,13 @@ states_suite (void)
|
||||||
Suite *s = suite_create ("states");
|
Suite *s = suite_create ("states");
|
||||||
TCase *tc_chain = tcase_create ("general");
|
TCase *tc_chain = tcase_create ("general");
|
||||||
|
|
||||||
|
#if defined(HAVE_LADSPA) || defined(HAVE_LV2)
|
||||||
|
/* timeout after 60s, not the default 3
|
||||||
|
* we have wrapper plugins enabled
|
||||||
|
*/
|
||||||
|
tcase_set_timeout (tc_chain, 60);
|
||||||
|
#endif
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
tcase_add_checked_fixture (tc_chain, setup, teardown);
|
tcase_add_checked_fixture (tc_chain, setup, teardown);
|
||||||
tcase_add_test (tc_chain, test_state_changes_up_and_down_seq);
|
tcase_add_test (tc_chain, test_state_changes_up_and_down_seq);
|
||||||
|
|
Loading…
Reference in a new issue