diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 0e4206a162..3f45b8176e 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -338,6 +338,10 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(b == true); + // FIXME: Something in this test results in heap corruption under PPC + // OS X, disable it to at least allow the subsequent tests to run as + // otherwise the test program just crashes. +#ifndef __WXOSX__ // Conversions from unsigned long type res = m_anyUnsignedLong1.GetAs(&l); CPPUNIT_ASSERT(res); @@ -359,10 +363,6 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b)); - // FIXME: Something in this test results in heap corruption under PPC - // OS X, disable it to at least allow the subsequent tests to run as - // otherwise the test program just crashes. -#ifndef __WXOSX__ // Let's test some other conversions from string that should work. wxAny anyString;