From 784397563c9cb933f233bb5a42ab009f0dc590b1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 May 2013 23:22:06 +0000 Subject: [PATCH] Reduce the number of wxAny tests ran under wxOSX further. Something in GetAs() test definitely corrupts memory, but what? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/any/anytest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.45.2