From b19d19a8b6418f2ac982d5f575a28e7530a5203e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 18 Aug 2006 13:41:02 +0000 Subject: [PATCH] tests/check/gst/gstinfo.c: Disable test that require gstdebug if it wasn't built in core. Original commit message from CVS: * tests/check/gst/gstinfo.c: (gst_info_suite): Disable test that require gstdebug if it wasn't built in core. --- ChangeLog | 5 +++++ tests/check/gst/gstinfo.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1ba65f00b0..9533f989b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-18 Edward Hervey + + * tests/check/gst/gstinfo.c: (gst_info_suite): + Disable test that require gstdebug if it wasn't built in core. + 2006-08-18 Stefan Kost * docs/random/ensonic/logging.txt: diff --git a/tests/check/gst/gstinfo.c b/tests/check/gst/gstinfo.c index c74971863c..8064d821e7 100644 --- a/tests/check/gst/gstinfo.c +++ b/tests/check/gst/gstinfo.c @@ -22,6 +22,8 @@ #include +#ifndef GST_DISABLE_GST_DEBUG + static void printf_extension_log_func (GstDebugCategory * category, GstDebugLevel level, const gchar * file, const gchar * function, @@ -178,6 +180,8 @@ GST_START_TEST (info_segment_format_printf_extension) GST_END_TEST; +#endif + static Suite * gst_info_suite (void) { @@ -187,8 +191,10 @@ gst_info_suite (void) tcase_set_timeout (tc_chain, 30); suite_add_tcase (s, tc_chain); +#ifndef GST_DISABLE_GST_DEBUG tcase_add_test (tc_chain, info_segment_format_printf_extension); tcase_add_test (tc_chain, info_ptr_format_printf_extension); +#endif return s; }