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:
Stefan Kost 2009-11-17 00:39:50 +02:00
parent 7f1ac755e4
commit 2bdaec2275

View file

@ -219,6 +219,13 @@ states_suite (void)
Suite *s = suite_create ("states");
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);
tcase_add_checked_fixture (tc_chain, setup, teardown);
tcase_add_test (tc_chain, test_state_changes_up_and_down_seq);