]> git.saurik.com Git - wxWidgets.git/commit
Don't throw assert failure exception in the test suite if it's unsafe.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Oct 2010 10:53:37 +0000 (10:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Oct 2010 10:53:37 +0000 (10:53 +0000)
commit33f7fa342f92eb747954e60ae1003c419e0761ed
tree0bc0419fb3a2d51527568d3d638c276afbe6dbc1
parent6222ad281a69bce12d71fa1cdd912872070d7908
Don't throw assert failure exception in the test suite if it's unsafe.

Don't throw when already handling an exception as it would result in a call to
terminate() and no useful information about the test failure would be given.
Abort ourselves instead to at least give the message about the assert failure.

This should help debug the mysterious ListCtrlTestCase failures in buildbot
wxGTK builds.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/test.cpp