From 7e6966faf6f478e5e518732f7298b87e6e4f6720 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 10 Aug 2009 11:43:52 +0100 Subject: [PATCH] check: add some logging before calling gst_task_cleanup_all() --- libs/gst/check/gstcheck.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/gst/check/gstcheck.h b/libs/gst/check/gstcheck.h index f486aa2..106c7f8 100644 --- a/libs/gst/check/gstcheck.h +++ b/libs/gst/check/gstcheck.h @@ -121,7 +121,8 @@ static void __testname (int __i__)\ GST_DEBUG ("test start"); \ tcase_fn_start (""# __testname, __FILE__, __LINE__); -#define GST_END_TEST gst_task_cleanup_all (); \ +#define GST_END_TEST GST_LOG ("cleaning up tasks"); \ + gst_task_cleanup_all (); \ END_TEST #else #define GST_START_TEST(__testname) \ @@ -130,7 +131,8 @@ static void __testname ()\ GST_DEBUG ("test start"); \ tcase_fn_start (""# __testname, __FILE__, __LINE__); -#define GST_END_TEST gst_task_cleanup_all (); \ +#define GST_END_TEST GST_LOG ("cleaning up tasks"); \ + gst_task_cleanup_all (); \ END_TEST #endif -- 2.7.4