From: Vadim Zeitlin Date: Fri, 10 May 2013 13:22:08 +0000 (+0000) Subject: Enable a few more tests in wxAnyTestCase::GetAs(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/37dd9a696ce6af2377986d9a17a747e6d8922ba9 Enable a few more tests in wxAnyTestCase::GetAs(). This is part of the continuing series of commits to find out what results in heap corruption in wxOSX PPC builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 3f45b8176e..6fb1a88078 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -338,10 +338,6 @@ 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); @@ -356,6 +352,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 default "abc" string to other types // should not work. CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&l));