tests/check/pipelines/: Comment out tests using parse_launch() if core was built without parsing capabilities.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Comment out tests using parse_launch() if core was built without
parsing capabilities.
This commit is contained in:
Edward Hervey 2006-05-28 09:37:18 +00:00
parent f3f16a69f0
commit 65970ff8af
4 changed files with 28 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2006-05-28 Edward Hervey <edward@fluendo.com>
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Comment out tests using parse_launch() if core was built without
parsing capabilities.
2006-05-27 Edward Hervey <edward@fluendo.com>
* tests/check/Makefile.am:

View file

@ -22,6 +22,7 @@
#include <gst/check/gstcheck.h>
#ifndef GST_DISABLE_PARSE
static GstElement *
setup_pipeline (const gchar * pipe_descr)
@ -148,8 +149,10 @@ GST_START_TEST (test_basetransform_based)
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
GST_MESSAGE_UNKNOWN);
}
GST_END_TEST Suite *
simple_launch_lines_suite (void)
GST_END_TEST
#endif /* #ifndef GST_DISABLE_PARSE */
Suite * simple_launch_lines_suite (void)
{
Suite *s = suite_create ("Pipelines");
TCase *tc_chain = tcase_create ("linear");
@ -158,8 +161,10 @@ simple_launch_lines_suite (void)
tcase_set_timeout (tc_chain, 20);
suite_add_tcase (s, tc_chain);
#ifndef GST_DISABLE_PARSE
// tcase_add_test (tc_chain, test_element_negotiation);
tcase_add_test (tc_chain, test_basetransform_based);
#endif
return s;
}

View file

@ -22,6 +22,8 @@
#include <gst/check/gstcheck.h>
#ifndef GST_DISABLE_PARSE
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
#define FRAMERATE 10
@ -384,6 +386,8 @@ GST_START_TEST (test_continuity)
GST_END_TEST;
#endif /* #ifndef GST_DISABLE_PARSE */
Suite *
theoraenc_suite (void)
{
@ -391,8 +395,11 @@ theoraenc_suite (void)
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
#ifndef GST_DISABLE_PARSE
tcase_add_test (tc_chain, test_granulepos_offset);
tcase_add_test (tc_chain, test_continuity);
#endif
return s;
}

View file

@ -22,6 +22,8 @@
#include <gst/check/gstcheck.h>
#ifndef GST_DISABLE_PARSE
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
static GCond *cond = NULL;
@ -339,6 +341,8 @@ GST_START_TEST (test_timestamps)
GST_END_TEST;
#endif /* #ifndef GST_DISABLE_PARSE */
Suite *
vorbisenc_suite (void)
{
@ -346,8 +350,10 @@ vorbisenc_suite (void)
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
#ifndef GST_DISABLE_PARSE
tcase_add_test (tc_chain, test_granulepos_offset);
tcase_add_test (tc_chain, test_timestamps);
#endif
return s;
}