mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
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:
parent
2d26569296
commit
b19d19a8b6
2 changed files with 11 additions and 0 deletions
|
@ -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>
|
2006-08-18 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/random/ensonic/logging.txt:
|
* docs/random/ensonic/logging.txt:
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printf_extension_log_func (GstDebugCategory * category,
|
printf_extension_log_func (GstDebugCategory * category,
|
||||||
GstDebugLevel level, const gchar * file, const gchar * function,
|
GstDebugLevel level, const gchar * file, const gchar * function,
|
||||||
|
@ -178,6 +180,8 @@ GST_START_TEST (info_segment_format_printf_extension)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
static Suite *
|
static Suite *
|
||||||
gst_info_suite (void)
|
gst_info_suite (void)
|
||||||
{
|
{
|
||||||
|
@ -187,8 +191,10 @@ gst_info_suite (void)
|
||||||
tcase_set_timeout (tc_chain, 30);
|
tcase_set_timeout (tc_chain, 30);
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
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_segment_format_printf_extension);
|
||||||
tcase_add_test (tc_chain, info_ptr_format_printf_extension);
|
tcase_add_test (tc_chain, info_ptr_format_printf_extension);
|
||||||
|
#endif
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue