tests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 14 Jun 2007 19:53:27 +0000 (19:53 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:32 +0000 (01:54 +0100)
Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it
fails on the p5-ppc64 build bot and the failure looks like it is due
to the same issue as #348114, ie. a compiler bug.

tests/check/pipelines/streamheader.c

index ea9d9ee..d581482 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <unistd.h>
 
 #include <gst/check/gstcheck.h>
@@ -108,6 +112,7 @@ GST_END_TEST;
  * exactly three in_caps buffers for the three header packets */
 
 static int n_in_caps = 0;
+
 gboolean
 buffer_probe_cb (GstPad * pad, GstBuffer * buffer)
 {
@@ -212,7 +217,12 @@ streamheader_suite (void)
   suite_add_tcase (s, tc_chain);
 #ifndef GST_DISABLE_PARSE
   tcase_add_test (tc_chain, test_multifdsink_gdp_tag);
-  tcase_add_test (tc_chain, test_multifdsink_gdp_vorbisenc);
+#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");
+  if (0)                        /* this avoids the 'function not used' warning */
+#endif
+    tcase_add_test (tc_chain, test_multifdsink_gdp_vorbisenc);
 #endif
 
   return s;