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
This commit is contained in:
Vadim Zeitlin
2013-05-09 23:22:06 +00:00
parent 1f0b3a2910
commit 784397563c

View File

@@ -338,6 +338,10 @@ void wxAnyTestCase::GetAs()
CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(res);
CPPUNIT_ASSERT(b == true); 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 // Conversions from unsigned long type
res = m_anyUnsignedLong1.GetAs(&l); res = m_anyUnsignedLong1.GetAs(&l);
CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(res);
@@ -359,10 +363,6 @@ void wxAnyTestCase::GetAs()
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f)); CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f));
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b)); 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. // Let's test some other conversions from string that should work.
wxAny anyString; wxAny anyString;