Enable another test in wxAnyTestCase under OS X.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-05-12 19:19:46 +00:00
parent 92318ee1fd
commit a4c7b5e435

View File

@@ -356,11 +356,11 @@ void wxAnyTestCase::GetAs()
// should not work.
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&l));
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&ul));
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f));
// 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));
// Let's test some other conversions from string that should work.