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.
This commit is contained in:
Edward Hervey 2006-08-18 13:41:02 +00:00
parent 2d26569296
commit b19d19a8b6
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-08-18 Edward Hervey <edward@fluendo.com>
* 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 <ensonic@users.sf.net>
* docs/random/ensonic/logging.txt:

View file

@ -22,6 +22,8 @@
#include <gst/check/gstcheck.h>
#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;
}