]> git.saurik.com Git - wxWidgets.git/commitdiff
Enable yet more tests in wxAnyTestCase::GetAs().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2013 19:21:45 +0000 (19:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2013 19:21:45 +0000 (19:21 +0000)
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

index 6fb1a880781b94d3d20ef2c9fccd9fcc593cf51a..28826093a3179e71ad66053281957370039b3f79 100644 (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));