From 09abcf016c13ab89e2bfa6f0eaa0ef18afc60923 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 8 Aug 2006 09:07:34 +0000 Subject: [PATCH] tests/check/libs/gdp.c: Use the architecture information from config.h and not gcc macros in order to properly disabl... Original commit message from CVS: * tests/check/libs/gdp.c: (gst_dp_suite): Use the architecture information from config.h and not gcc macros in order to properly disable a test that fails on PPC64. --- ChangeLog | 6 ++++++ tests/check/libs/gdp.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8fbade..563f1ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-08-08 Edward Hervey + + * tests/check/libs/gdp.c: (gst_dp_suite): + Use the architecture information from config.h and not gcc macros + in order to properly disable a test that fails on PPC64. + 2006-08-04 Tim-Philipp Müller * gst/gstelement.c: (gst_element_remove_pad): diff --git a/tests/check/libs/gdp.c b/tests/check/libs/gdp.c index 46e9754..7a2c134 100644 --- a/tests/check/libs/gdp.c +++ b/tests/check/libs/gdp.c @@ -20,6 +20,8 @@ * Boston, MA 02111-1307, USA. */ +#include "config.h" + #include #include @@ -404,7 +406,7 @@ gst_dp_suite (void) suite_add_tcase (s, tc_chain); tcase_add_test (tc_chain, test_conversion); -#if !defined (__ppc64) +#ifndef HAVE_CPU_PPC64 tcase_add_test (tc_chain, test_buffer); #endif tcase_add_test (tc_chain, test_caps); -- 2.7.4