tests/check/libs/gdp.c: Use the architecture information from config.h and not gcc...
authorEdward Hervey <bilboed@bilboed.com>
Tue, 8 Aug 2006 09:07:34 +0000 (09:07 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 8 Aug 2006 09:07:34 +0000 (09:07 +0000)
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
tests/check/libs/gdp.c

index a8fbade..563f1ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-08  Edward Hervey  <edward@fluendo.com>
+
+       * 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  <tim at centricular dot net>
 
        * gst/gstelement.c: (gst_element_remove_pad):
index 46e9754..7a2c134 100644 (file)
@@ -20,6 +20,8 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include "config.h"
+
 #include <gst/check/gstcheck.h>
 
 #include <gst/dataprotocol/dataprotocol.h>
@@ -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);