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
This commit is contained in:
Vadim Zeitlin
2013-05-10 19:21:45 +00:00
parent 6524d302d0
commit 1a9961c430

View File

@@ -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));