From 1a9961c430537c295c32e35c558f3f077aa9a9f7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 10 May 2013 19:21:45 +0000 Subject: [PATCH] Enable yet 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@73964 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 6fb1a88078..28826093a3 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -352,14 +352,14 @@ 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)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&ul)); + // 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__ CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b)); -- 2.50.0