summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-03-23 13:12:41 +0000
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:32 +0100
commita6b0426bfcc4ddc33317ae25e084f6437b5be730 (patch)
tree520f110ae7440cc915a275624f3b38a7d7a684da /tests
parenta8bf6e2d8abfe7ce0a06ddba8f8652a3c8ab3308 (diff)
downloadgstreamer-plugins-bad-a6b0426bfcc4ddc33317ae25e084f6437b5be730.tar.gz
tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.
Original commit message from CVS: * tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/gdpdepay.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/check/elements/gdpdepay.c b/tests/check/elements/gdpdepay.c
index 703e0ade8..55f23b375 100644
--- a/tests/check/elements/gdpdepay.c
+++ b/tests/check/elements/gdpdepay.c
@@ -279,8 +279,6 @@ setup_gdpdepay_streamheader (void)
return gdpdepay;
}
-#ifndef HAVE_CPU_PPC64 /* Test known to fail on PPC64. See #348114 */
-
/* this tests deserialization of a GDP stream where the serialized caps
* have a streamheader set */
GST_START_TEST (test_streamheader)
@@ -398,8 +396,6 @@ GST_START_TEST (test_streamheader)
GST_END_TEST;
-#endif /* ifndef HAVE_CPU_PPC64 */
-
static Suite *
gdpdepay_suite (void)
{
@@ -409,9 +405,14 @@ gdpdepay_suite (void)
suite_add_tcase (s, tc_chain);
tcase_add_test (tc_chain, test_audio_per_byte);
tcase_add_test (tc_chain, test_audio_in_one_buffer);
-#ifndef HAVE_CPU_PPC64 /* Test known to fail on PPC64. See #348114 */
- tcase_add_test (tc_chain, test_streamheader);
+
+#ifdef HAVE_CPU_PPC64 /* Test known to fail on PPC64. See #348114 */
+ g_print ("\n\n***** skipping test test_streamheader. May fail "
+ "on PPC due to a 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_streamheader);
+
return s;
}