summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2008-06-04 16:00:26 +0000
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:32 +0100
commit4822aa7c7ba87eaa1cf65919e3777548732a6184 (patch)
tree3f99ed2ad5c07cb5efe1ddc6110deb3f9584e74f /tests
parentba8932379055ab1b1b147ea788ea5b711738265a (diff)
downloadgstreamer-plugins-bad-4822aa7c7ba87eaa1cf65919e3777548732a6184.tar.gz
tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...
Original commit message from CVS: * tests/check/pipelines/streamheader.c: (buffer_probe_cb), (test_multifdsink_gdp_vorbisenc), (streamheader_suite): Do not try to run a test which requires vorbisenc unless we have actually built it.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/pipelines/streamheader.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index daf3179cd..806eecb41 100644
--- a/tests/check/pipelines/streamheader.c
+++ b/tests/check/pipelines/streamheader.c
@@ -107,6 +107,7 @@ GST_START_TEST (test_multifdsink_gdp_tag)
GST_END_TEST;
+#ifdef HAVE_VORBIS
/* this tests gdp-serialized Vorbis header pages being sent only once
* to clients of multifdsink; the gdp depayloader should deserialize
* exactly three in_caps buffers for the three header packets */
@@ -204,7 +205,7 @@ GST_START_TEST (test_multifdsink_gdp_vorbisenc)
}
GST_END_TEST;
-
+#endif /* HAVE_VORBIS */
#endif /* #ifndef GST_DISABLE_PARSE */
@@ -217,6 +218,7 @@ streamheader_suite (void)
suite_add_tcase (s, tc_chain);
#ifndef GST_DISABLE_PARSE
tcase_add_test (tc_chain, test_multifdsink_gdp_tag);
+#ifdef HAVE_VORBIS
#ifdef HAVE_CPU_PPC64
g_print ("\n\n***** skipping test test_multifdsink_gdp_vorbisenc. May fail "
"on PPC64 due to compiler bug. See bug #348114 for details\n\n\n");
@@ -224,6 +226,7 @@ streamheader_suite (void)
#endif
tcase_add_test (tc_chain, test_multifdsink_gdp_vorbisenc);
#endif
+#endif
return s;
}