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:
parent
f3f16a69f0
commit
65970ff8af
@ -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>
|
2006-05-27 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* tests/check/Makefile.am:
|
* tests/check/Makefile.am:
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
|
|
||||||
static GstElement *
|
static GstElement *
|
||||||
setup_pipeline (const gchar * pipe_descr)
|
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_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||||
GST_MESSAGE_UNKNOWN);
|
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");
|
Suite *s = suite_create ("Pipelines");
|
||||||
TCase *tc_chain = tcase_create ("linear");
|
TCase *tc_chain = tcase_create ("linear");
|
||||||
@ -158,8 +161,10 @@ simple_launch_lines_suite (void)
|
|||||||
tcase_set_timeout (tc_chain, 20);
|
tcase_set_timeout (tc_chain, 20);
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
// tcase_add_test (tc_chain, test_element_negotiation);
|
// tcase_add_test (tc_chain, test_element_negotiation);
|
||||||
tcase_add_test (tc_chain, test_basetransform_based);
|
tcase_add_test (tc_chain, test_basetransform_based);
|
||||||
|
#endif
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
|
|
||||||
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
|
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
|
||||||
#define FRAMERATE 10
|
#define FRAMERATE 10
|
||||||
|
|
||||||
@ -384,6 +386,8 @@ GST_START_TEST (test_continuity)
|
|||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
#endif /* #ifndef GST_DISABLE_PARSE */
|
||||||
|
|
||||||
Suite *
|
Suite *
|
||||||
theoraenc_suite (void)
|
theoraenc_suite (void)
|
||||||
{
|
{
|
||||||
@ -391,8 +395,11 @@ theoraenc_suite (void)
|
|||||||
TCase *tc_chain = tcase_create ("general");
|
TCase *tc_chain = tcase_create ("general");
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
tcase_add_test (tc_chain, test_granulepos_offset);
|
tcase_add_test (tc_chain, test_granulepos_offset);
|
||||||
tcase_add_test (tc_chain, test_continuity);
|
tcase_add_test (tc_chain, test_continuity);
|
||||||
|
#endif
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
|
|
||||||
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
|
#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
|
||||||
|
|
||||||
static GCond *cond = NULL;
|
static GCond *cond = NULL;
|
||||||
@ -339,6 +341,8 @@ GST_START_TEST (test_timestamps)
|
|||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
#endif /* #ifndef GST_DISABLE_PARSE */
|
||||||
|
|
||||||
Suite *
|
Suite *
|
||||||
vorbisenc_suite (void)
|
vorbisenc_suite (void)
|
||||||
{
|
{
|
||||||
@ -346,8 +350,10 @@ vorbisenc_suite (void)
|
|||||||
TCase *tc_chain = tcase_create ("general");
|
TCase *tc_chain = tcase_create ("general");
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
|
#ifndef GST_DISABLE_PARSE
|
||||||
tcase_add_test (tc_chain, test_granulepos_offset);
|
tcase_add_test (tc_chain, test_granulepos_offset);
|
||||||
tcase_add_test (tc_chain, test_timestamps);
|
tcase_add_test (tc_chain, test_timestamps);
|
||||||
|
#endif
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user