From 95a520be76991948f7091e6f573d5f4f28286039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 3 Jul 2010 14:09:36 +0100 Subject: [PATCH] checks: run tests calling gst_deinit() last so things work with CK_FORK=no Because gst_init() will fail once gst_deinit() has been called. See #623469. --- tests/check/gst/gst.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/check/gst/gst.c b/tests/check/gst/gst.c index 92f21b762b..e907959f64 100644 --- a/tests/check/gst/gst.c +++ b/tests/check/gst/gst.c @@ -100,11 +100,12 @@ gst_suite (void) suite_add_tcase (s, tc_chain); tcase_add_test (tc_chain, test_init); - tcase_add_test (tc_chain, test_deinit); - tcase_add_test (tc_chain, test_deinit_sysclock); tcase_add_test (tc_chain, test_new_pipeline); tcase_add_test (tc_chain, test_new_fakesrc); tcase_add_test (tc_chain, test_version); + /* run these last so the others don't fail if CK_FORK=no is being used */ + tcase_add_test (tc_chain, test_deinit_sysclock); + tcase_add_test (tc_chain, test_deinit); return s; }